diff mbox

[V9fs-developer,3/6] fs: 9p pass NULL as second parameter for set_anon_super

Message ID 1354168778-11975-1-git-send-email-abhi.c.pawar@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Abhijit Pawar Nov. 29, 2012, 5:59 a.m. UTC
set_anon_super does not use the second parameter in its implementation. 
So there is no need to pass on the second parameter.

Signed-off-by: Abhijit Pawar <abhi.c.pawar@gmail.com>
 fs/9p/vfs_super.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff mbox


diff --git a/fs/9p/vfs_super.c b/fs/9p/vfs_super.c
index 137d503..132db90 100644
--- a/fs/9p/vfs_super.c
+++ b/fs/9p/vfs_super.c
@@ -61,7 +61,7 @@  static const struct super_operations v9fs_super_ops, v9fs_super_ops_dotl;
 static int v9fs_set_super(struct super_block *s, void *data)
 	s->s_fs_info = data;
-	return set_anon_super(s, data);
+	return set_anon_super(s, NULL);