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/autofs4 | |
parent | a6322de67b58a00e3a783ad9c87c2a11b2d67b47 (diff) |
vfs: switch ->show_options() to struct dentry *
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/autofs4')
-rw-r--r-- | fs/autofs4/inode.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/autofs4/inode.c b/fs/autofs4/inode.c index f799efad52a8..2ba44c79d548 100644 --- a/fs/autofs4/inode.c +++ b/fs/autofs4/inode.c | |||
@@ -70,10 +70,10 @@ out_kill_sb: | |||
70 | kill_litter_super(sb); | 70 | kill_litter_super(sb); |
71 | } | 71 | } |
72 | 72 | ||
73 | static int autofs4_show_options(struct seq_file *m, struct vfsmount *mnt) | 73 | static int autofs4_show_options(struct seq_file *m, struct dentry *root) |
74 | { | 74 | { |
75 | struct autofs_sb_info *sbi = autofs4_sbi(mnt->mnt_sb); | 75 | struct autofs_sb_info *sbi = autofs4_sbi(root->d_sb); |
76 | struct inode *root_inode = mnt->mnt_sb->s_root->d_inode; | 76 | struct inode *root_inode = root->d_sb->s_root->d_inode; |
77 | 77 | ||
78 | if (!sbi) | 78 | if (!sbi) |
79 | return 0; | 79 | return 0; |