vfs: switch ->show_options() to struct dentry *
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
a6322de67b
commit
34c80b1d93
39 changed files with 90 additions and 91 deletions
|
@ -2118,9 +2118,9 @@ out:
|
|||
return error;
|
||||
}
|
||||
|
||||
static int shmem_show_options(struct seq_file *seq, struct vfsmount *vfs)
|
||||
static int shmem_show_options(struct seq_file *seq, struct dentry *root)
|
||||
{
|
||||
struct shmem_sb_info *sbinfo = SHMEM_SB(vfs->mnt_sb);
|
||||
struct shmem_sb_info *sbinfo = SHMEM_SB(root->d_sb);
|
||||
|
||||
if (sbinfo->max_blocks != shmem_default_max_blocks())
|
||||
seq_printf(seq, ",size=%luk",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue