diff options
author | J. Bruce Fields <bfields@citi.umich.edu> | 2008-01-26 23:36:48 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2008-04-23 16:13:37 -0400 |
commit | 6a85fa3adddd3a74bd5b94c4b72668d307b88377 (patch) | |
tree | f7e89f37ccfe1b5db09aa2478f2baecabbaef009 | |
parent | 0836f587258c2a24bfdc8810ad2327e7f354b6c7 (diff) | |
download | blackbird-op-linux-6a85fa3adddd3a74bd5b94c4b72668d307b88377.tar.gz blackbird-op-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>
-rw-r--r-- | fs/nfsd/nfs4state.c | 2 |
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); |