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/hfsplus | |
parent | a6322de67b58a00e3a783ad9c87c2a11b2d67b47 (diff) |
vfs: switch ->show_options() to struct dentry *
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/hfsplus')
-rw-r--r-- | fs/hfsplus/hfsplus_fs.h | 2 | ||||
-rw-r--r-- | fs/hfsplus/options.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/fs/hfsplus/hfsplus_fs.h b/fs/hfsplus/hfsplus_fs.h index 3a6c025414e2..21a5b7fc6db4 100644 --- a/fs/hfsplus/hfsplus_fs.h +++ b/fs/hfsplus/hfsplus_fs.h | |||
@@ -419,7 +419,7 @@ ssize_t hfsplus_listxattr(struct dentry *dentry, char *buffer, size_t size); | |||
419 | int hfsplus_parse_options(char *, struct hfsplus_sb_info *); | 419 | int hfsplus_parse_options(char *, struct hfsplus_sb_info *); |
420 | int hfsplus_parse_options_remount(char *input, int *force); | 420 | int hfsplus_parse_options_remount(char *input, int *force); |
421 | void hfsplus_fill_defaults(struct hfsplus_sb_info *); | 421 | void hfsplus_fill_defaults(struct hfsplus_sb_info *); |
422 | int hfsplus_show_options(struct seq_file *, struct vfsmount *); | 422 | int hfsplus_show_options(struct seq_file *, struct dentry *); |
423 | 423 | ||
424 | /* super.c */ | 424 | /* super.c */ |
425 | struct inode *hfsplus_iget(struct super_block *, unsigned long); | 425 | struct inode *hfsplus_iget(struct super_block *, unsigned long); |
diff --git a/fs/hfsplus/options.c b/fs/hfsplus/options.c index bb62a5882147..06fa5618600c 100644 --- a/fs/hfsplus/options.c +++ b/fs/hfsplus/options.c | |||
@@ -206,9 +206,9 @@ done: | |||
206 | return 1; | 206 | return 1; |
207 | } | 207 | } |
208 | 208 | ||
209 | int hfsplus_show_options(struct seq_file *seq, struct vfsmount *mnt) | 209 | int hfsplus_show_options(struct seq_file *seq, struct dentry *root) |
210 | { | 210 | { |
211 | struct hfsplus_sb_info *sbi = HFSPLUS_SB(mnt->mnt_sb); | 211 | struct hfsplus_sb_info *sbi = HFSPLUS_SB(root->d_sb); |
212 | 212 | ||
213 | if (sbi->creator != HFSPLUS_DEF_CR_TYPE) | 213 | if (sbi->creator != HFSPLUS_DEF_CR_TYPE) |
214 | seq_printf(seq, ",creator=%.4s", (char *)&sbi->creator); | 214 | seq_printf(seq, ",creator=%.4s", (char *)&sbi->creator); |