Skip to contentSkip to conversation

fs: 9p pass NULL as second parameter for set_anon_super

PATCH In review Abhijit Pawar 1 participant 1 message Nov 29, 2012 9P file system

lore
Share & tools
lore
#0 lore raw

PATCH 3/6 fs: 9p pass NULL as second parameter for set_anon_super

set_anon_super does not use the second parameter in its implementation. So there is no need to pass on the second parameter.

---
 fs/9p/vfs_super.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
fs/9p/vfs_super.c +1 -1
index 137d503..132db90 100644
@@ -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);
 }
 
 /**
Signature · 1 line
1.7.7.6