Commit fc26c386 authored by Jeff Layton's avatar Jeff Layton Committed by J. Bruce Fields

nfsd: remove bogus setting of status in nfsd4_process_open2

status is always reset after this (and it doesn't make much sense there
anyway).
Signed-off-by: default avatarJeff Layton <jeff.layton@primarydata.com>
Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarJ. Bruce Fields <bfields@redhat.com>
parent beaca234
...@@ -4049,7 +4049,6 @@ nfsd4_process_open2(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nf ...@@ -4049,7 +4049,6 @@ nfsd4_process_open2(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nf
status = nfserr_bad_stateid; status = nfserr_bad_stateid;
if (nfsd4_is_deleg_cur(open)) if (nfsd4_is_deleg_cur(open))
goto out; goto out;
status = nfserr_jukebox;
} }
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment