aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fs.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2010-07-24 16:46:55 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2010-10-29 04:16:13 -0400
commit152a08366671080f27b32e0c411ad620c5f88b57 (patch)
treed13d16028f74839c678bce355ba8aac75d939fa8 /include/linux/fs.h
parentc96e41e92b4aaf11e1f9775ecf0d1c8cbff829ed (diff)
new helper: mount_bdev()
... and switch of the obvious get_sb_bdev() users to ->mount() Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r--include/linux/fs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index c6b474311690..2fab5a24ca51 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -1792,6 +1792,9 @@ struct file_system_type {
1792extern int get_sb_ns(struct file_system_type *fs_type, int flags, void *data, 1792extern int get_sb_ns(struct file_system_type *fs_type, int flags, void *data,
1793 int (*fill_super)(struct super_block *, void *, int), 1793 int (*fill_super)(struct super_block *, void *, int),
1794 struct vfsmount *mnt); 1794 struct vfsmount *mnt);
1795extern struct dentry *mount_bdev(struct file_system_type *fs_type,
1796 int flags, const char *dev_name, void *data,
1797 int (*fill_super)(struct super_block *, void *, int));
1795extern int get_sb_bdev(struct file_system_type *fs_type, 1798extern int get_sb_bdev(struct file_system_type *fs_type,
1796 int flags, const char *dev_name, void *data, 1799 int flags, const char *dev_name, void *data,
1797 int (*fill_super)(struct super_block *, void *, int), 1800 int (*fill_super)(struct super_block *, void *, int),