Commit 11a4f276 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] kNFSd: Corrects an error return for OP_OPEN_CONFIRM.

From: NeilBrown <neilb@cse.unsw.edu.au>

Corrects an error return for OP_OPEN_CONFIRM.
parent 7160d19b
......@@ -1534,6 +1534,10 @@ nfsd4_open_confirm(struct svc_rqst *rqstp, struct svc_fh *current_fh, struct nfs
dprintk("NFSD: nfsd4_open_confirm on file %.*s\n",
(int)current_fh->fh_dentry->d_name.len,
current_fh->fh_dentry->d_name.name);
if ((status = fh_verify(rqstp, current_fh, S_IFREG, 0)))
goto out;
oc->oc_stateowner = NULL;
nfs4_lock_state();
......
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