summaryrefslogtreecommitdiffstats
path: root/fs/nfsd/nfsproc.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2011-01-03 04:05:33 +0100
committerJ. Bruce Fields <bfields@redhat.com>2011-01-04 22:49:23 +0100
commit062304a815fe10068c478a4a3f28cf091c55cb82 (patch)
tree6e006246bbbb7cb23b1f0871e9b24170d58146bb /fs/nfsd/nfsproc.c
parentsvcrpc: simpler request dropping (diff)
downloadlinux-062304a815fe10068c478a4a3f28cf091c55cb82.tar.xz
linux-062304a815fe10068c478a4a3f28cf091c55cb82.zip
nfsd: stop translating EAGAIN to nfserr_dropit
We no longer need this. Also, EWOULDBLOCK is generally a synonym for EAGAIN, but that may not be true on all architectures, so map it as well. Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'fs/nfsd/nfsproc.c')
-rw-r--r--fs/nfsd/nfsproc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfsd/nfsproc.c b/fs/nfsd/nfsproc.c
index dc9c2e3fd1b8..fd608a27a8d5 100644
--- a/fs/nfsd/nfsproc.c
+++ b/fs/nfsd/nfsproc.c
@@ -735,7 +735,8 @@ nfserrno (int errno)
{ nfserr_stale, -ESTALE },
{ nfserr_jukebox, -ETIMEDOUT },
{ nfserr_jukebox, -ERESTARTSYS },
- { nfserr_dropit, -EAGAIN },
+ { nfserr_jukebox, -EAGAIN },
+ { nfserr_jukebox, -EWOULDBLOCK },
{ nfserr_jukebox, -ENOMEM },
{ nfserr_badname, -ESRCH },
{ nfserr_io, -ETXTBSY },