projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e701c6
)
nfsd: stop translating EAGAIN to nfserr_dropit
author
J. Bruce Fields
<bfields@redhat.com>
Mon, 3 Jan 2011 03:05:33 +0000
(22:05 -0500)
committer
J. Bruce Fields
<bfields@redhat.com>
Tue, 4 Jan 2011 21:49:23 +0000
(16:49 -0500)
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>
fs/nfsd/nfsproc.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/nfsd/nfsproc.c
b/fs/nfsd/nfsproc.c
index dc9c2e3fd1b87cbaf7a0ab9eda099c658751269c..fd608a27a8d5fa4e410c944505d50ce776050325 100644
(file)
--- 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 },