aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fs.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2008-02-22 20:40:24 -0500
committerAl Viro <viro@zeniv.linux.org.uk>2008-10-21 07:48:58 -0400
commit9a1c3542768b5a58e45a9216921cd10a3bae1205 (patch)
treec20ffda950db868ec7e1e35aed532962de2ecfd9 /include/linux/fs.h
parent511de73ff09034fb89c8d54bed201a10d057328c (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.h2
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);
1723extern long compat_blkdev_ioctl(struct file *, unsigned, unsigned long); 1723extern long compat_blkdev_ioctl(struct file *, unsigned, unsigned long);
1724extern int blkdev_get(struct block_device *, fmode_t, unsigned); 1724extern int blkdev_get(struct block_device *, fmode_t, unsigned);
1725extern int blkdev_put(struct block_device *); 1725extern int blkdev_put(struct block_device *, fmode_t);
1726extern int bd_claim(struct block_device *, void *); 1726extern int bd_claim(struct block_device *, void *);
1727extern void bd_release(struct block_device *); 1727extern void bd_release(struct block_device *);
1728#ifdef CONFIG_SYSFS 1728#ifdef CONFIG_SYSFS