Commit fd1b3e40 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] kNFSd: Convert error status for failed lookup("..") properly.

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

We weren't converting the -E* error code to an nfserr_* error code as we
should.
parent 38bd700b
......@@ -173,7 +173,7 @@ nfsd_lookup(struct svc_rqst *rqstp, struct svc_fh *fhp, const char *name,
err = PTR_ERR(exp2);
dput(dentry);
mntput(mnt);
goto out;
goto out_nfserr;
}
if (!exp2) {
dput(dentry);
......
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