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-02-16 11:31:20 -0500 |
commit | 626be138ce76347ef3fa28dd9b0b7c4c910623b4 (patch) | |
tree | f0c4787fa153976a4b9f92ee8367a2ef7c2af673 /fs | |
parent | 1fc37fb6a7b0fb5848cf58a87e1634fe13eed586 (diff) |
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')
-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 17e72c5fb733..e557e21df919 100644 --- a/fs/nfsd/nfs4state.c +++ b/fs/nfsd/nfs4state.c @@ -2051,7 +2051,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); |