Преглед изворни кода

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>
Fengguang Wu пре 12 година
родитељ
комит
ba138435d1
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      fs/nfsd/nfs4state.c

+ 1 - 1
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;