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
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Reference in a new issue