diff options
author | J. Bruce Fields <bfields@redhat.com> | 2011-01-02 22:05:33 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2011-01-04 16:49:23 -0500 |
commit | 062304a815fe10068c478a4a3f28cf091c55cb82 (patch) | |
tree | 6e006246bbbb7cb23b1f0871e9b24170d58146bb /fs/nfsd/nfsproc.c | |
parent | 9e701c610923aaeac8b38b9202a686d1cc9ee35d (diff) | |
download | linux-062304a815fe10068c478a4a3f28cf091c55cb82.tar.bz2 |
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.c | 3 |
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 }, |