OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9aeb5ae
)
nfsd4: put_client_renew_locked can be static
author
Fengguang Wu
<fengguang.wu@intel.com>
Wed, 17 Apr 2013 02:14:15 +0000
(22:14 -0400)
committer
J. Bruce Fields
<bfields@redhat.com>
Wed, 17 Apr 2013 02:15:00 +0000
(22:15 -0400)
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4state.c
patch
|
blob
|
history
diff --git
a/fs/nfsd/nfs4state.c
b/fs/nfsd/nfs4state.c
index
a795491
..
e39bf53
100644
(file)
--- 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;