summaryrefslogtreecommitdiffstats
path: root/fs/nfsd
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@citi.umich.edu>2008-01-27 05:36:48 +0100
committerJ. Bruce Fields <bfields@citi.umich.edu>2008-04-23 22:13:37 +0200
commit6a85fa3adddd3a74bd5b94c4b72668d307b88377 (patch)
treef7e89f37ccfe1b5db09aa2478f2baecabbaef009 /fs/nfsd
parentnfsd4: simplify stateid sequencing checks (diff)
downloadlinux-6a85fa3adddd3a74bd5b94c4b72668d307b88377.tar.xz
linux-6a85fa3adddd3a74bd5b94c4b72668d307b88377.zip
nfsd4: kill unnecessary check in preprocess_stateid_op
This condition is always true. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'fs/nfsd')
-rw-r--r--fs/nfsd/nfs4state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index b83b58da0cc0..a40d1ec52fea 100644
--- 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);