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:

zatwierdzone przez
Al Viro

rodzic
f015f1267b
commit
9249e17fe0
@@ -871,7 +871,7 @@ static struct dentry *ceph_mount(struct file_system_type *fs_type,
|
||||
|
||||
if (ceph_test_opt(fsc->client, NOSHARE))
|
||||
compare_super = NULL;
|
||||
sb = sget(fs_type, compare_super, ceph_set_super, fsc);
|
||||
sb = sget(fs_type, compare_super, ceph_set_super, flags, fsc);
|
||||
if (IS_ERR(sb)) {
|
||||
res = ERR_CAST(sb);
|
||||
goto out;
|
||||
|
Reference in New Issue
Block a user