diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2010-07-25 03:46:36 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2010-10-29 04:16:31 -0400 |
commit | 3c26ff6e499ee7e6f9f2bc7da5f2f30d80862ecf (patch) | |
tree | bd758d7f15f24aed225a64de77cc535785c50f96 /include | |
parent | fc14f2fef682df677d64a145256dbd263df2aa7b (diff) |
convert get_sb_nodev() users
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/fs.h | 3 | ||||
-rw-r--r-- | include/linux/ramfs.h | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h index 0aa2f1202afa..4c3a29ddcacb 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h | |||
@@ -1806,6 +1806,9 @@ extern int get_sb_single(struct file_system_type *fs_type, | |||
1806 | int flags, void *data, | 1806 | int flags, void *data, |
1807 | int (*fill_super)(struct super_block *, void *, int), | 1807 | int (*fill_super)(struct super_block *, void *, int), |
1808 | struct vfsmount *mnt); | 1808 | struct vfsmount *mnt); |
1809 | extern struct dentry *mount_nodev(struct file_system_type *fs_type, | ||
1810 | int flags, void *data, | ||
1811 | int (*fill_super)(struct super_block *, void *, int)); | ||
1809 | extern int get_sb_nodev(struct file_system_type *fs_type, | 1812 | extern int get_sb_nodev(struct file_system_type *fs_type, |
1810 | int flags, void *data, | 1813 | int flags, void *data, |
1811 | int (*fill_super)(struct super_block *, void *, int), | 1814 | int (*fill_super)(struct super_block *, void *, int), |
diff --git a/include/linux/ramfs.h b/include/linux/ramfs.h index e7320b5e82fb..3a8f0c9b2933 100644 --- a/include/linux/ramfs.h +++ b/include/linux/ramfs.h | |||
@@ -3,8 +3,8 @@ | |||
3 | 3 | ||
4 | struct inode *ramfs_get_inode(struct super_block *sb, const struct inode *dir, | 4 | struct inode *ramfs_get_inode(struct super_block *sb, const struct inode *dir, |
5 | int mode, dev_t dev); | 5 | int mode, dev_t dev); |
6 | extern int ramfs_get_sb(struct file_system_type *fs_type, | 6 | extern struct dentry *ramfs_mount(struct file_system_type *fs_type, |
7 | int flags, const char *dev_name, void *data, struct vfsmount *mnt); | 7 | int flags, const char *dev_name, void *data); |
8 | 8 | ||
9 | #ifndef CONFIG_MMU | 9 | #ifndef CONFIG_MMU |
10 | extern int ramfs_nommu_expand_for_mapping(struct inode *inode, size_t newsize); | 10 | extern int ramfs_nommu_expand_for_mapping(struct inode *inode, size_t newsize); |