mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -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
|
|
@ -258,9 +258,9 @@ static void hostfs_destroy_inode(struct inode *inode)
|
|||
call_rcu(&inode->i_rcu, hostfs_i_callback);
|
||||
}
|
||||
|
||||
static int hostfs_show_options(struct seq_file *seq, struct vfsmount *vfs)
|
||||
static int hostfs_show_options(struct seq_file *seq, struct dentry *root)
|
||||
{
|
||||
const char *root_path = vfs->mnt_sb->s_fs_info;
|
||||
const char *root_path = root->d_sb->s_fs_info;
|
||||
size_t offset = strlen(root_ino) + 1;
|
||||
|
||||
if (strlen(root_path) > offset)
|
||||
|
|
|
|||
Loading…
Reference in a new issue