projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0836f58
)
nfsd4: kill unnecessary check in preprocess_stateid_op
author
J. Bruce Fields
<bfields@citi.umich.edu>
Sun, 27 Jan 2008 04:36:48 +0000
(23:36 -0500)
committer
J. Bruce Fields
<bfields@citi.umich.edu>
Wed, 23 Apr 2008 20:13:37 +0000
(16:13 -0400)
This condition is always true.
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/nfsd/nfs4state.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfsd/nfs4state.c
b/fs/nfsd/nfs4state.c
index b83b58da0cc066a5f4b76b68219b0c4936c32428..a40d1ec52fea7da9f63a48e2133528eb4f2f3b9c 100644
(file)
--- a/
fs/nfsd/nfs4state.c
+++ b/
fs/nfsd/nfs4state.c
@@
-2052,7
+2052,7
@@
nfs4_preprocess_stateid_op(struct svc_fh *current_fh, stateid_t *stateid, int fl
renew_client(stp->st_stateowner->so_client);
if (filpp)
*filpp = stp->st_vfs_file;
- } else
if (dp)
{
+ } else {
if ((status = nfs4_check_delegmode(dp, flags)))
goto out;
renew_client(dp->dl_client);