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 /fs/nfsd | |
parent | 0836f587258c2a24bfdc8810ad2327e7f354b6c7 (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/nfsd')
-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 | |||
2052 | renew_client(stp->st_stateowner->so_client); | 2052 | renew_client(stp->st_stateowner->so_client); |
2053 | if (filpp) | 2053 | if (filpp) |
2054 | *filpp = stp->st_vfs_file; | 2054 | *filpp = stp->st_vfs_file; |
2055 | } else if (dp) { | 2055 | } else { |
2056 | if ((status = nfs4_check_delegmode(dp, flags))) | 2056 | if ((status = nfs4_check_delegmode(dp, flags))) |
2057 | goto out; | 2057 | goto out; |
2058 | renew_client(dp->dl_client); | 2058 | renew_client(dp->dl_client); |