From 893544c46baafea72eba4d19744d9b5e137ec425 Mon Sep 17 00:00:00 2001 From: Andrew Morton Date: Sun, 18 Jan 2004 18:06:59 -0800 Subject: [PATCH] bdev: bd_acquire() cleanup From: viro@parcelfarce.linux.theplanet.co.uk bd_acquire() made static, switched to returning the block_device it had found. Callers updated. --- include/linux/fs.h | 1 - 1 file changed, 1 deletion(-) (limited to 'include') diff --git a/include/linux/fs.h b/include/linux/fs.h index ae9019c80f09..8915617d3d48 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -1125,7 +1125,6 @@ enum {BDEV_FILE, BDEV_SWAP, BDEV_FS, BDEV_RAW}; extern int register_blkdev(unsigned int, const char *); extern int unregister_blkdev(unsigned int, const char *); extern struct block_device *bdget(dev_t); -extern int bd_acquire(struct inode *inode); extern void bd_forget(struct inode *inode); extern void bdput(struct block_device *); extern int blkdev_open(struct inode *, struct file *); -- cgit v1.2.3