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 <dhowells@redhat.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user