forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
9aeb5aeeb0
commit
ba138435d1
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user