From: J. Bruce Fields Date: Mon, 3 Jan 2011 03:05:33 +0000 (-0500) Subject: nfsd: stop translating EAGAIN to nfserr_dropit X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=062304a815fe10068c478a4a3f28cf091c55cb82;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git 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 --- diff --git a/fs/nfsd/nfsproc.c b/fs/nfsd/nfsproc.c index dc9c2e3fd1b..fd608a27a8d 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 },