]> git.karo-electronics.de Git - linux-beck.git/commit
nfsd: don't drop requests on -ENOMEM
authorJ. Bruce Fields <bfields@redhat.com>
Sat, 1 Jan 2011 20:43:50 +0000 (15:43 -0500)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 4 Jan 2011 21:49:20 +0000 (16:49 -0500)
commit3beb6cd1d448e7ded938bbd676493e6a08e9a6cd
treed33cdca2db5433f65cfbaa67068feebf9017cbe8
parent65e4c8945575abca4e368e05ca3e9f77df030290
nfsd: don't drop requests on -ENOMEM

We never want to drop a request if we could return a JUKEBOX/DELAY error
instead; so, convert to nfserr_jukebox and let nfsd_dispatch() convert
that to a dropit error as a last resort if JUKEBOX/DELAY is unavailable
(as in the NFSv2 case).

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfsproc.c