Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754379Ab0AODQx (ORCPT ); Thu, 14 Jan 2010 22:16:53 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752910Ab0AODQw (ORCPT ); Thu, 14 Jan 2010 22:16:52 -0500 Received: from [206.15.93.42] ([206.15.93.42]:15485 "EHLO visionfs1.visionengravers.com" rhost-flags-FAIL-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751674Ab0AODQv (ORCPT ); Thu, 14 Jan 2010 22:16:51 -0500 From: H Hartley Sweeten To: Linux Kernel , linux-nfs@vger.kernel.org Subject: [PATCH] fs/nfs/write.c: make local symbol static Date: Thu, 14 Jan 2010 20:16:57 -0700 Cc: Trond.Myklebust@netapp.com MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201001142016.57297.hartleys@visionengravers.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org fs/nfs/write.c: make local symbol static The symbol nfs_commitdata_release is only used locally in this file. Make it static to prevent the following sparse warning: warning: symbol 'nfs_commitdata_release' was not declared. Should it be static? Signed-off-by: H Hartley Sweeten Cc: Trond Myklebust --- diff --git a/fs/nfs/write.c b/fs/nfs/write.c index d171696..78b5c56 100644 --- a/fs/nfs/write.c +++ b/fs/nfs/write.c @@ -1233,7 +1233,7 @@ int nfs_writeback_done(struct rpc_task *task, struct nfs_write_data *data) #if defined(CONFIG_NFS_V3) || defined(CONFIG_NFS_V4) -void nfs_commitdata_release(void *data) +static void nfs_commitdata_release(void *data) { struct nfs_write_data *wdata = data; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/