diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2008-02-22 20:40:24 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2008-10-21 07:48:58 -0400 |
commit | 9a1c3542768b5a58e45a9216921cd10a3bae1205 (patch) | |
tree | c20ffda950db868ec7e1e35aed532962de2ecfd9 /include/linux/fs.h | |
parent | 511de73ff09034fb89c8d54bed201a10d057328c (diff) |
[PATCH] pass fmode_t to blkdev_put()
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 b5894604ba5e..04c8dc41f454 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 | unsigned long arg); | 1722 | unsigned long arg); |
1723 | extern long compat_blkdev_ioctl(struct file *, unsigned, unsigned long); | 1723 | extern long compat_blkdev_ioctl(struct file *, unsigned, unsigned long); |
1724 | extern int blkdev_get(struct block_device *, fmode_t, unsigned); | 1724 | extern int blkdev_get(struct block_device *, fmode_t, unsigned); |
1725 | extern int blkdev_put(struct block_device *); | 1725 | extern int blkdev_put(struct block_device *, fmode_t); |
1726 | extern int bd_claim(struct block_device *, void *); | 1726 | extern int bd_claim(struct block_device *, void *); |
1727 | extern void bd_release(struct block_device *); | 1727 | extern void bd_release(struct block_device *); |
1728 | #ifdef CONFIG_SYSFS | 1728 | #ifdef CONFIG_SYSFS |