projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3bd64a5
)
nfsd4: remove some useless code
author
fanchaoting
<tingchaofan@gmail.com>
Thu, 11 Apr 2013 13:24:13 +0000
(21:24 +0800)
committer
J. Bruce Fields
<bfields@redhat.com>
Tue, 16 Apr 2013 14:59:31 +0000
(10:59 -0400)
The "list_empty(&oo->oo_owner.so_stateids)" is aways true, so remove it.
Signed-off-by: fanchaoting <fanchaoting@cn.fujitsu.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 3b84700d1bd7f7083a0a58a3e51bd50f69e37be6..a7954913b33258686011c0d26f9c5fe7f1bd1cfe 100644
(file)
--- a/
fs/nfsd/nfs4state.c
+++ b/
fs/nfsd/nfs4state.c
@@
-3919,8
+3919,7
@@
nfsd4_close(struct svc_rqst *rqstp, struct nfsd4_compound_state *cstate,
* In the 4.0 case we need to keep the owners around a
* little while to handle CLOSE replay.
*/
- if (list_empty(&oo->oo_owner.so_stateids))
- move_to_close_lru(oo, SVC_NET(rqstp));
+ move_to_close_lru(oo, SVC_NET(rqstp));
}
}
out: