diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-12-08 21:32:45 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-06 23:19:54 -0500 |
commit | 34c80b1d93e6e20ca9dea0baf583a5b5510d92d4 (patch) | |
tree | 7dcbf0a4e09464247e6992c8f44fcc872867bd3a /fs/nfs | |
parent | a6322de67b58a00e3a783ad9c87c2a11b2d67b47 (diff) |
vfs: switch ->show_options() to struct dentry *
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/super.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/nfs/super.c b/fs/nfs/super.c index 02c693c77ab7..e463967aafb8 100644 --- a/fs/nfs/super.c +++ b/fs/nfs/super.c | |||
@@ -262,7 +262,7 @@ static match_table_t nfs_local_lock_tokens = { | |||
262 | 262 | ||
263 | static void nfs_umount_begin(struct super_block *); | 263 | static void nfs_umount_begin(struct super_block *); |
264 | static int nfs_statfs(struct dentry *, struct kstatfs *); | 264 | static int nfs_statfs(struct dentry *, struct kstatfs *); |
265 | static int nfs_show_options(struct seq_file *, struct vfsmount *); | 265 | static int nfs_show_options(struct seq_file *, struct dentry *); |
266 | static int nfs_show_devname(struct seq_file *, struct dentry *); | 266 | static int nfs_show_devname(struct seq_file *, struct dentry *); |
267 | static int nfs_show_path(struct seq_file *, struct dentry *); | 267 | static int nfs_show_path(struct seq_file *, struct dentry *); |
268 | static int nfs_show_stats(struct seq_file *, struct dentry *); | 268 | static int nfs_show_stats(struct seq_file *, struct dentry *); |
@@ -720,9 +720,9 @@ static void nfs_show_mount_options(struct seq_file *m, struct nfs_server *nfss, | |||
720 | /* | 720 | /* |
721 | * Describe the mount options on this VFS mountpoint | 721 | * Describe the mount options on this VFS mountpoint |
722 | */ | 722 | */ |
723 | static int nfs_show_options(struct seq_file *m, struct vfsmount *mnt) | 723 | static int nfs_show_options(struct seq_file *m, struct dentry *root) |
724 | { | 724 | { |
725 | struct nfs_server *nfss = NFS_SB(mnt->mnt_sb); | 725 | struct nfs_server *nfss = NFS_SB(root->d_sb); |
726 | 726 | ||
727 | nfs_show_mount_options(m, nfss, 0); | 727 | nfs_show_mount_options(m, nfss, 0); |
728 | 728 | ||