summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2004-01-18 18:06:59 -0800
committerLinus Torvalds <torvalds@home.osdl.org>2004-01-18 18:06:59 -0800
commit893544c46baafea72eba4d19744d9b5e137ec425 (patch)
tree637f372a7a24ce46291ee5d4268b3d7238c6a51c /include
parent7ca0643e528a8d817c7a5a254d8e022f613b1cc7 (diff)
[PATCH] bdev: bd_acquire() cleanup
From: viro@parcelfarce.linux.theplanet.co.uk <viro@parcelfarce.linux.theplanet.co.uk> bd_acquire() made static, switched to returning the block_device it had found. Callers updated.
Diffstat (limited to 'include')
-rw-r--r--include/linux/fs.h1
1 files changed, 0 insertions, 1 deletions
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 *);