aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/fs.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2011-03-16 22:09:57 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-16 22:09:57 -0400
commit054cfaacf88865bff1dd58d305443d5d6c068a08 (patch)
tree39cd85f0f5966ed8c501740359b1d03d48f5ea41 /include/linux/fs.h
parentdc113c1f1d4b47af1b1ca701c5a39e24d296c2ac (diff)
parent1a102ff92579edeff5e3d5d3c76ca49977898f00 (diff)
Merge branch 'mnt_devname' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6
* 'mnt_devname' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6: vfs: bury ->get_sb() nfs: switch NFS from ->get_sb() to ->mount() nfs: stop mangling ->mnt_devname on NFS vfs: new superblock methods to override /proc/*/mount{s,info} nfs: nfs_do_{ref,sub}mount() superblock argument is redundant nfs: make nfs_path() work without vfsmount nfs: store devname at disconnected NFS roots nfs: propagate devname to nfs{,4}_get_root()
Diffstat (limited to 'include/linux/fs.h')
-rw-r--r--include/linux/fs.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 2f5a71d6d766..92f7e04aea11 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -1631,6 +1631,8 @@ struct super_operations {
1631 void (*umount_begin) (struct super_block *); 1631 void (*umount_begin) (struct super_block *);
1632 1632
1633 int (*show_options)(struct seq_file *, struct vfsmount *); 1633 int (*show_options)(struct seq_file *, struct vfsmount *);
1634 int (*show_devname)(struct seq_file *, struct vfsmount *);
1635 int (*show_path)(struct seq_file *, struct vfsmount *);
1634 int (*show_stats)(struct seq_file *, struct vfsmount *); 1636 int (*show_stats)(struct seq_file *, struct vfsmount *);
1635#ifdef CONFIG_QUOTA 1637#ifdef CONFIG_QUOTA
1636 ssize_t (*quota_read)(struct super_block *, int, char *, size_t, loff_t); 1638 ssize_t (*quota_read)(struct super_block *, int, char *, size_t, loff_t);
@@ -1794,8 +1796,6 @@ int sync_inode_metadata(struct inode *inode, int wait);
1794struct file_system_type { 1796struct file_system_type {
1795 const char *name; 1797 const char *name;
1796 int fs_flags; 1798 int fs_flags;
1797 int (*get_sb) (struct file_system_type *, int,
1798 const char *, void *, struct vfsmount *);
1799 struct dentry *(*mount) (struct file_system_type *, int, 1799 struct dentry *(*mount) (struct file_system_type *, int,
1800 const char *, void *); 1800 const char *, void *);
1801 void (*kill_sb) (struct super_block *); 1801 void (*kill_sb) (struct super_block *);
@@ -1818,24 +1818,12 @@ extern struct dentry *mount_ns(struct file_system_type *fs_type, int flags,
1818extern struct dentry *mount_bdev(struct file_system_type *fs_type, 1818extern struct dentry *mount_bdev(struct file_system_type *fs_type,
1819 int flags, const char *dev_name, void *data, 1819 int flags, const char *dev_name, void *data,
1820 int (*fill_super)(struct super_block *, void *, int)); 1820 int (*fill_super)(struct super_block *, void *, int));
1821extern int get_sb_bdev(struct file_system_type *fs_type,
1822 int flags, const char *dev_name, void *data,
1823 int (*fill_super)(struct super_block *, void *, int),
1824 struct vfsmount *mnt);
1825extern struct dentry *mount_single(struct file_system_type *fs_type, 1821extern struct dentry *mount_single(struct file_system_type *fs_type,
1826 int flags, void *data, 1822 int flags, void *data,
1827 int (*fill_super)(struct super_block *, void *, int)); 1823 int (*fill_super)(struct super_block *, void *, int));
1828extern int get_sb_single(struct file_system_type *fs_type,
1829 int flags, void *data,
1830 int (*fill_super)(struct super_block *, void *, int),
1831 struct vfsmount *mnt);
1832extern struct dentry *mount_nodev(struct file_system_type *fs_type, 1824extern struct dentry *mount_nodev(struct file_system_type *fs_type,
1833 int flags, void *data, 1825 int flags, void *data,
1834 int (*fill_super)(struct super_block *, void *, int)); 1826 int (*fill_super)(struct super_block *, void *, int));
1835extern int get_sb_nodev(struct file_system_type *fs_type,
1836 int flags, void *data,
1837 int (*fill_super)(struct super_block *, void *, int),
1838 struct vfsmount *mnt);
1839void generic_shutdown_super(struct super_block *sb); 1827void generic_shutdown_super(struct super_block *sb);
1840void kill_block_super(struct super_block *sb); 1828void kill_block_super(struct super_block *sb);
1841void kill_anon_super(struct super_block *sb); 1829void kill_anon_super(struct super_block *sb);