提交 6a85fa3a 编写于 作者: J J. Bruce Fields

nfsd4: kill unnecessary check in preprocess_stateid_op

This condition is always true.
Signed-off-by: NJ. Bruce Fields <bfields@citi.umich.edu>
上级 0836f587
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册