linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 4/6] fs:btrfs pass NULL as second parameter for set_anon_super
@ 2012-11-29  6:28 Abhijit Pawar
  0 siblings, 0 replies; only message in thread
From: Abhijit Pawar @ 2012-11-29  6:28 UTC (permalink / raw)
  To: Chris Mason, linux-btrfs; +Cc: linux-kernel, Abhijit Pawar

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/btrfs/super.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index 915ac14..c9994a3 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -954,7 +954,7 @@ static int btrfs_test_super(struct super_block *s, void *data)
 
 static int btrfs_set_super(struct super_block *s, void *data)
 {
-	int err = set_anon_super(s, data);
+	int err = set_anon_super(s, NULL);
 	if (!err)
 		s->s_fs_info = data;
 	return err;
-- 
1.7.7.6


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2012-11-29  6:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-29  6:28 [PATCH 4/6] fs:btrfs pass NULL as second parameter for set_anon_super Abhijit Pawar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).