nfsd4: kill unnecessary check in preprocess_stateid_op
This condition is always true. Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
This commit is contained in:
@@ -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);
|
renew_client(stp->st_stateowner->so_client);
|
||||||
if (filpp)
|
if (filpp)
|
||||||
*filpp = stp->st_vfs_file;
|
*filpp = stp->st_vfs_file;
|
||||||
} else if (dp) {
|
} else {
|
||||||
if ((status = nfs4_check_delegmode(dp, flags)))
|
if ((status = nfs4_check_delegmode(dp, flags)))
|
||||||
goto out;
|
goto out;
|
||||||
renew_client(dp->dl_client);
|
renew_client(dp->dl_client);
|
||||||
|
Reference in New Issue
Block a user