kNFSd - 1 of 4 - Convert error status for failed lookup("..") properly.
Subsystems (2)
PATCH 1/1 kNFSd - 1 of 4 - Convert error status for failed lookup("..") properly.
Linus,
Here are 4 patches to knfsd that I believe are appropriate for pre 2.6.0. The first two are simple bug fixes.
The third is the largest and need to change a little bit of infrastructure
to avoid ignoring a possible NULL return from kmalloc.
The fourth extends dnotify functionality w.r.t. nfsd file access.
Thanks,
NeilBrown
### Comments for ChangeSet
We weren't converting the -E* error code to an nfserr_* error code as we should.
----------- Diffstat output ------------
./fs/nfsd/vfs.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-)
fs/nfsd/vfs.c renamed from fs/nfsd/vfs.c~current~ +1 -1
@@ -173,7 +173,7 @@ nfsd_lookup(struct svc_rqst *rqstp, stru err =PTR_ERR (exp2);dput (dentry);mntput (mnt); - goto out; + goto out_nfserr; }if (!exp2) {dput (dentry);
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs