nfsd4: treat more recall errors as failures
authorJ. Bruce Fields <bfields@citi.umich.edu>
Sun, 30 May 2010 15:53:12 +0000 (11:53 -0400)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Mon, 31 May 2010 16:43:53 +0000 (12:43 -0400)
commit172c85dd5764d2766bfd68621e5b54e85c4a6cfa
tree960e6d16444e7d508516a443e51d7cd3cdaf65bb
parent378b7d37f90399b7c34373a5925450529afb917b
nfsd4: treat more recall errors as failures

If a recall fails for some unexpected reason, instead of ignoring it and
treating it like a success, it's safer to treat it as a failure,
preventing further delgation grants and returning CB_PATH_DOWN.

Also put put switches in a (two me) more logical order, with normal case
first.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/nfsd/nfs4callback.c