From patchwork Thu Nov 29 05:59:38 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Abhijit Pawar X-Patchwork-Id: 1820211 Return-Path: X-Original-To: patchwork-v9fs-devel@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from lists.sourceforge.net (lists.sourceforge.net [216.34.181.88]) by patchwork2.kernel.org (Postfix) with ESMTP id 227F2DF24C for ; Thu, 29 Nov 2012 06:00:54 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=sfs-ml-2.v29.ch3.sourceforge.com) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1TdxB6-0002vx-Ca; Thu, 29 Nov 2012 06:00:52 +0000 Received: from sog-mx-4.v43.ch3.sourceforge.com ([172.29.43.194] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1TdxB4-0002vq-QN for v9fs-developer@lists.sourceforge.net; Thu, 29 Nov 2012 06:00:50 +0000 Received-SPF: pass (sog-mx-4.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.220.47 as permitted sender) client-ip=209.85.220.47; envelope-from=abhi.c.pawar@gmail.com; helo=mail-pa0-f47.google.com; Received: from mail-pa0-f47.google.com ([209.85.220.47]) by sog-mx-4.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1TdxB4-0003pO-5E for v9fs-developer@lists.sourceforge.net; Thu, 29 Nov 2012 06:00:50 +0000 Received: by mail-pa0-f47.google.com with SMTP id fa10so4904384pad.34 for ; Wed, 28 Nov 2012 22:00:44 -0800 (PST) Received: by 10.68.136.163 with SMTP id qb3mr64823048pbb.129.1354168844389; Wed, 28 Nov 2012 22:00:44 -0800 (PST) Received: from apawar-f16.cybage.com ([121.242.40.10]) by mx.google.com with ESMTPS id t10sm506477paz.5.2012.11.28.22.00.41 (version=SSLv3 cipher=OTHER); Wed, 28 Nov 2012 22:00:43 -0800 (PST) From: Abhijit Pawar To: Eric Van Hensbergen , Ron Minnich , Latchesar Ionkov , v9fs-developer@lists.sourceforge.net Date: Thu, 29 Nov 2012 11:29:38 +0530 Message-Id: <1354168778-11975-1-git-send-email-abhi.c.pawar@gmail.com> X-Mailer: git-send-email 1.7.7.6 X-Spam-Score: -0.5 (/) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (abhi.c.pawar[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 1.1 AWL AWL: From: address is in the auto white-list X-Headers-End: 1TdxB4-0003pO-5E Cc: linux-kernel@vger.kernel.org, Abhijit Pawar Subject: [V9fs-developer] [PATCH 3/6] fs: 9p pass NULL as second parameter for set_anon_super X-BeenThere: v9fs-developer@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: v9fs-developer-bounces@lists.sourceforge.net 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 --- fs/9p/vfs_super.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 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); } /**