diff options
Diffstat (limited to 'fs/autofs4/inode.c')
-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; |