Commit 131b7c29 authored by gam3@gam3.net's avatar gam3@gam3.net Committed by Linus Torvalds

[PATCH] Fix error reported by nfsd which it gets ETXTBSY

ETXTBSY doesn't have a direct anaolog in NFS, so just map it to nfserr_io.

As this is the default error code this does not change the operation of nfsd. 
It only reduces logging.
Signed-off-by: default avatarNeil Brown <neilb@cse.unsw.edu.au>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 554cfd41
...@@ -590,6 +590,7 @@ nfserrno (int errno) ...@@ -590,6 +590,7 @@ nfserrno (int errno)
{ nfserr_dropit, -EAGAIN }, { nfserr_dropit, -EAGAIN },
{ nfserr_dropit, -ENOMEM }, { nfserr_dropit, -ENOMEM },
{ nfserr_badname, -ESRCH }, { nfserr_badname, -ESRCH },
{ nfserr_io, -ETXTBSY },
{ -1, -EIO } { -1, -EIO }
}; };
int i; int i;
......
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