summaryrefslogtreecommitdiffstats
path: root/fs/nfs/nfs3proc.c
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2017-04-25 16:25:06 -0400
committerTrond Myklebust <trond.myklebust@primarydata.com>2017-04-25 16:25:06 -0400
commitbb3393d5b3594a6f9c2e670ec59a2bb8daf92ccc (patch)
tree4a9842f892722d792924ac1e8ad0e5a3c67945c4 /fs/nfs/nfs3proc.c
parenta6598813a4c5bad76322bee2323dc549e7d7180d (diff)
downloadlinux-bb3393d5b3594a6f9c2e670ec59a2bb8daf92ccc.tar.bz2
NFSv3: nfs3_nlm_alloc_call should be declared static
Fix compiler warnings. Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/nfs3proc.c')
-rw-r--r--fs/nfs/nfs3proc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/nfs/nfs3proc.c b/fs/nfs/nfs3proc.c
index ce06ae0a25cf..0c07b567118d 100644
--- a/fs/nfs/nfs3proc.c
+++ b/fs/nfs/nfs3proc.c
@@ -865,7 +865,7 @@ static void nfs3_proc_commit_setup(struct nfs_commit_data *data, struct rpc_mess
msg->rpc_proc = &nfs3_procedures[NFS3PROC_COMMIT];
}
-void nfs3_nlm_alloc_call(void *data)
+static void nfs3_nlm_alloc_call(void *data)
{
struct nfs_lock_context *l_ctx = data;
if (l_ctx && test_bit(NFS_CONTEXT_UNLOCK, &l_ctx->open_context->flags)) {
@@ -874,7 +874,7 @@ void nfs3_nlm_alloc_call(void *data)
}
}
-bool nfs3_nlm_unlock_prepare(struct rpc_task *task, void *data)
+static bool nfs3_nlm_unlock_prepare(struct rpc_task *task, void *data)
{
struct nfs_lock_context *l_ctx = data;
if (l_ctx && test_bit(NFS_CONTEXT_UNLOCK, &l_ctx->open_context->flags))
@@ -883,7 +883,7 @@ bool nfs3_nlm_unlock_prepare(struct rpc_task *task, void *data)
}
-void nfs3_nlm_release_call(void *data)
+static void nfs3_nlm_release_call(void *data)
{
struct nfs_lock_context *l_ctx = data;
struct nfs_open_context *ctx;