vfs: switch ->show_options() to struct dentry *

Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
Al Viro 2011-12-08 21:32:45 -05:00
commit 34c80b1d93
39 changed files with 90 additions and 91 deletions

View file

@ -648,11 +648,11 @@ static int nilfs_statfs(struct dentry *dentry, struct kstatfs *buf)
return 0;
}
static int nilfs_show_options(struct seq_file *seq, struct vfsmount *vfs)
static int nilfs_show_options(struct seq_file *seq, struct dentry *dentry)
{
struct super_block *sb = vfs->mnt_sb;
struct super_block *sb = dentry->d_sb;
struct the_nilfs *nilfs = sb->s_fs_info;
struct nilfs_root *root = NILFS_I(vfs->mnt_root->d_inode)->i_root;
struct nilfs_root *root = NILFS_I(dentry->d_inode)->i_root;
if (!nilfs_test_opt(nilfs, BARRIER))
seq_puts(seq, ",nobarrier");