summaryrefslogtreecommitdiffstats
path: root/fs/nfsd
diff options
context:
space:
mode:
authorFengguang Wu2013-04-17 04:14:15 +0200
committerJ. Bruce Fields2013-04-17 04:15:00 +0200
commitba138435d1f8b25aa2b787848ee939270a50e34f (patch)
treea92f0feeec91113533d4f4620e43afa4368936ff /fs/nfsd
parentnfsd4: remove unused macro (diff)
downloadkernel-qcow2-linux-ba138435d1f8b25aa2b787848ee939270a50e34f.tar.gz
kernel-qcow2-linux-ba138435d1f8b25aa2b787848ee939270a50e34f.tar.xz
kernel-qcow2-linux-ba138435d1f8b25aa2b787848ee939270a50e34f.zip
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 a7954913b332..e39bf5381bca 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;