From: Wei Yongjun <[email protected]>
put_client_renew_locked() only used within this file. It should be static.
Signed-off-by: Wei Yongjun <[email protected]>
---
fs/nfsd/nfs4state.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index 2fd0155..3225544 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -192,7 +192,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;