mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
vfs: switch ->show_options() to struct dentry *
Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
a6322de67b
commit
34c80b1d93
39 changed files with 90 additions and 91 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue