Subject: [PATCH kNFSd 1 of 54] Fix error reported by nfsd which it gets ETXTBSY
From: NeilBrown <[email-masked]>
To: Andrew Morton <[email-masked]>
Cc: [email-masked]
Date: Tue, 08 Mar 2005 17:06:42 +1100

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.

From: "G. Allen Morris III" <[email-masked]>
Signed-off-by: Neil Brown <[email-masked]>

### Diffstat output
 ./fs/nfsd/nfsproc.c |    1 +
 1 files changed, 1 insertion(+)

diff ./fs/nfsd/nfsproc.c~current~ ./fs/nfsd/nfsproc.c
--- ./fs/nfsd/nfsproc.c~current~	2005-03-07 11:32:36.000000000 +1100
+++ ./fs/nfsd/nfsproc.c	2005-03-07 11:32:36.000000000 +1100
@@ -590,6 +590,7 @@ nfserrno (int errno)
 		{ nfserr_dropit, -EAGAIN },
 		{ nfserr_dropit, -ENOMEM },
 		{ nfserr_badname, -ESRCH },
+		{ nfserr_io, -ETXTBSY },
 		{ nfserr_notsupp, -EOPNOTSUPP },
 		{ -1, -EIO }
 	};