]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8c372b54ed01e1bcbce28f842500e783483db3b3
tree960e6d16444e7d508516a443e51d7cd3cdaf65bb
parentd9a1e80181b015e9c60a7f5d148a661e2fca348d
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