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/adfs | |
parent | a6322de67b58a00e3a783ad9c87c2a11b2d67b47 (diff) |
vfs: switch ->show_options() to struct dentry *
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/adfs')
-rw-r--r-- | fs/adfs/super.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/adfs/super.c b/fs/adfs/super.c index c8bf36a1996a..8e3b36ace305 100644 --- a/fs/adfs/super.c +++ b/fs/adfs/super.c | |||
@@ -126,9 +126,9 @@ static void adfs_put_super(struct super_block *sb) | |||
126 | sb->s_fs_info = NULL; | 126 | sb->s_fs_info = NULL; |
127 | } | 127 | } |
128 | 128 | ||
129 | static int adfs_show_options(struct seq_file *seq, struct vfsmount *mnt) | 129 | static int adfs_show_options(struct seq_file *seq, struct dentry *root) |
130 | { | 130 | { |
131 | struct adfs_sb_info *asb = ADFS_SB(mnt->mnt_sb); | 131 | struct adfs_sb_info *asb = ADFS_SB(root->d_sb); |
132 | 132 | ||
133 | if (asb->s_uid != 0) | 133 | if (asb->s_uid != 0) |
134 | seq_printf(seq, ",uid=%u", asb->s_uid); | 134 | seq_printf(seq, ",uid=%u", asb->s_uid); |