vfs: switch ->show_options() to struct dentry *
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -419,7 +419,7 @@ ssize_t hfsplus_listxattr(struct dentry *dentry, char *buffer, size_t size);
|
||||
int hfsplus_parse_options(char *, struct hfsplus_sb_info *);
|
||||
int hfsplus_parse_options_remount(char *input, int *force);
|
||||
void hfsplus_fill_defaults(struct hfsplus_sb_info *);
|
||||
int hfsplus_show_options(struct seq_file *, struct vfsmount *);
|
||||
int hfsplus_show_options(struct seq_file *, struct dentry *);
|
||||
|
||||
/* super.c */
|
||||
struct inode *hfsplus_iget(struct super_block *, unsigned long);
|
||||
|
@@ -206,9 +206,9 @@ done:
|
||||
return 1;
|
||||
}
|
||||
|
||||
int hfsplus_show_options(struct seq_file *seq, struct vfsmount *mnt)
|
||||
int hfsplus_show_options(struct seq_file *seq, struct dentry *root)
|
||||
{
|
||||
struct hfsplus_sb_info *sbi = HFSPLUS_SB(mnt->mnt_sb);
|
||||
struct hfsplus_sb_info *sbi = HFSPLUS_SB(root->d_sb);
|
||||
|
||||
if (sbi->creator != HFSPLUS_DEF_CR_TYPE)
|
||||
seq_printf(seq, ",creator=%.4s", (char *)&sbi->creator);
|
||||
|
Reference in New Issue
Block a user