diff options
author | J. Bruce Fields <bfields@redhat.com> | 2011-01-03 03:05:33 (GMT) |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2011-01-04 21:49:23 (GMT) |
commit | 062304a815fe10068c478a4a3f28cf091c55cb82 (patch) | |
tree | 6e006246bbbb7cb23b1f0871e9b24170d58146bb /fs/nfsd | |
parent | 9e701c610923aaeac8b38b9202a686d1cc9ee35d (diff) | |
download | linux-fsl-qoriq-062304a815fe10068c478a4a3f28cf091c55cb82.tar.xz |
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')
-rw-r--r-- | fs/nfsd/nfsproc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/nfsd/nfsproc.c b/fs/nfsd/nfsproc.c index dc9c2e3..fd608a2 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 }, |