aboutsummaryrefslogtreecommitdiff
path: root/fs/nfsd
diff options
context:
space:
mode:
authorFengguang Wu <fengguang.wu@intel.com>2013-04-16 22:14:15 -0400
committerJ. Bruce Fields <bfields@redhat.com>2013-04-16 22:15:00 -0400
commitba138435d1f8b25aa2b787848ee939270a50e34f (patch)
treea92f0feeec91113533d4f4620e43afa4368936ff /fs/nfsd
parent9aeb5aeeb09d59794896ccefd60d58c44987f52f (diff)
nfsd4: put_client_renew_locked can be static
Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd')
-rw-r--r--fs/nfsd/nfs4state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index a7954913b33..e39bf5381bc 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -193,7 +193,7 @@ renew_client(struct nfs4_client *clp)
spin_unlock(&nn->client_lock);
}
-void put_client_renew_locked(struct nfs4_client *clp)
+static void put_client_renew_locked(struct nfs4_client *clp)
{
if (!atomic_dec_and_test(&clp->cl_refcount))
return;