Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ba138435 authored by Fengguang Wu's avatar Fengguang Wu Committed by J. Bruce Fields
Browse files

nfsd4: put_client_renew_locked can be static

parent 9aeb5aee
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -193,7 +193,7 @@ renew_client(struct nfs4_client *clp)
	spin_unlock(&nn->client_lock);
	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))
	if (!atomic_dec_and_test(&clp->cl_refcount))
		return;
		return;