summaryrefslogtreecommitdiffstats
path: root/fs/reiserfs/procfs.c
diff options
context:
space:
mode:
authorDavid Howells2012-06-25 13:55:37 +0200
committerAl Viro2012-07-14 14:38:34 +0200
commit9249e17fe094d853d1ef7475dd559a2cc7e23d42 (patch)
treefa80a6044c14b38994d232c0e05cb7365800adf2 /fs/reiserfs/procfs.c
parentVFS: Comment mount following code (diff)
downloadkernel-qcow2-linux-9249e17fe094d853d1ef7475dd559a2cc7e23d42.tar.gz
kernel-qcow2-linux-9249e17fe094d853d1ef7475dd559a2cc7e23d42.tar.xz
kernel-qcow2-linux-9249e17fe094d853d1ef7475dd559a2cc7e23d42.zip
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>
Diffstat (limited to 'fs/reiserfs/procfs.c')
-rw-r--r--fs/reiserfs/procfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/reiserfs/procfs.c b/fs/reiserfs/procfs.c
index 2c1ade692cc8..e60e87035bb3 100644
--- a/fs/reiserfs/procfs.c
+++ b/fs/reiserfs/procfs.c
@@ -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);