[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1354170945-12211-1-git-send-email-abhi.c.pawar@gmail.com>
Date: Thu, 29 Nov 2012 12:05:45 +0530
From: Abhijit Pawar <abhi.c.pawar@...il.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: linux-kernel@...r.kernel.org,
Abhijit Pawar <abhi.c.pawar@...il.com>
Subject: [PATCH 6/6] fs:sysfs 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.
Signed-off-by: Abhijit Pawar <abhi.c.pawar@...il.com>
---
fs/sysfs/mount.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/fs/sysfs/mount.c b/fs/sysfs/mount.c
index db940a9..3e3f7ea 100644
--- a/fs/sysfs/mount.c
+++ b/fs/sysfs/mount.c
@@ -89,7 +89,7 @@ static int sysfs_test_super(struct super_block *sb, void *data)
static int sysfs_set_super(struct super_block *sb, void *data)
{
int error;
- error = set_anon_super(sb, data);
+ error = set_anon_super(sb, NULL);
if (!error)
sb->s_fs_info = data;
return error;
--
1.7.7.6
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists