diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2007-10-08 13:24:05 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-10-21 07:49:06 -0400 |
commit | 572c48921574dbe6dceb958cf965aa962baefde4 (patch) | |
tree | c1d889288d567cb6b596d10041526d2a8031bae3 /include/linux/fs.h | |
parent | e5eb8caa83a76191feb9705c1a0a689ca260b91e (diff) |
[PATCH] sanitize blkdev_get() and friends
* get rid of fake struct file/struct dentry in __blkdev_get()
* merge __blkdev_get() and do_open()
* get rid of flags argument of blkdev_get()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r-- | include/linux/fs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index c6766314dc5e..cb78e389699b 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -1722,7 +1722,7 @@ extern int blkdev_driver_ioctl(struct inode *inode, struct file *file, | |||
1722 | struct gendisk *disk, unsigned cmd, | 1722 | struct gendisk *disk, unsigned cmd, |
1723 | unsigned long arg); | 1723 | unsigned long arg); |
1724 | extern long compat_blkdev_ioctl(struct file *, unsigned, unsigned long); | 1724 | extern long compat_blkdev_ioctl(struct file *, unsigned, unsigned long); |
1725 | extern int blkdev_get(struct block_device *, fmode_t, unsigned); | 1725 | extern int blkdev_get(struct block_device *, fmode_t); |
1726 | extern int blkdev_put(struct block_device *, fmode_t); | 1726 | extern int blkdev_put(struct block_device *, fmode_t); |
1727 | extern int bd_claim(struct block_device *, void *); | 1727 | extern int bd_claim(struct block_device *, void *); |
1728 | extern void bd_release(struct block_device *); | 1728 | extern void bd_release(struct block_device *); |