* [PATCH] fs/nfs/write.c: make local symbol static
@ 2010-01-15 3:16 H Hartley Sweeten
0 siblings, 0 replies; only message in thread
From: H Hartley Sweeten @ 2010-01-15 3:16 UTC (permalink / raw)
To: Linux Kernel, linux-nfs; +Cc: Trond.Myklebust
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 <hsweeten@visionengravers.com>
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>
---
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-01-15 3:16 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-15 3:16 [PATCH] fs/nfs/write.c: make local symbol static H Hartley Sweeten
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome