mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
VFS: Pass mount flags to sget()
Pass mount flags to sget() so that it can use them in initialising a new superblock before the set function is called. They could also be passed to the compare function. Signed-off-by: David Howells <[email protected]> Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
parent
f015f1267b
commit
9249e17fe0
20 changed files with 40 additions and 50 deletions
|
|
@ -403,7 +403,7 @@ static void *r_start(struct seq_file *m, loff_t * pos)
|
|||
if (l)
|
||||
return NULL;
|
||||
|
||||
if (IS_ERR(sget(&reiserfs_fs_type, test_sb, set_sb, s)))
|
||||
if (IS_ERR(sget(&reiserfs_fs_type, test_sb, set_sb, 0, s)))
|
||||
return NULL;
|
||||
|
||||
up_write(&s->s_umount);
|
||||
|
|
|
|||
Loading…
Reference in a new issue