diff options
author | Fengguang Wu <fengguang.wu@intel.com> | 2013-04-17 04:14:15 +0200 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2013-04-17 04:15:00 +0200 |
commit | ba138435d1f8b25aa2b787848ee939270a50e34f (patch) | |
tree | a92f0feeec91113533d4f4620e43afa4368936ff /fs | |
parent | nfsd4: remove unused macro (diff) | |
download | linux-ba138435d1f8b25aa2b787848ee939270a50e34f.tar.xz 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')
-rw-r--r-- | fs/nfsd/nfs4state.c | 2 |
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; |