NFS: Don't try to reclaim delegation open state if recovery failed
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 17 Oct 2014 20:02:52 +0000 (23:02 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Nov 2014 17:23:04 +0000 (09:23 -0800)
commit5d59a6f54c7afc72b79d7e4fde05ada706b5e6bc
tree6f4d3e64f18944c02f60bc8ad4d82cd07f51c029
parentb8bc6004711c8615ec377fba64077c4fc696589a
NFS: Don't try to reclaim delegation open state if recovery failed

commit f8ebf7a8ca35dde321f0cd385fee6f1950609367 upstream.

If state recovery failed, then we should not attempt to reclaim delegated
state.

http://lkml.kernel.org/r/CAN-5tyHwG=Cn2Q9KsHWadewjpTTy_K26ee+UnSvHvG4192p-Xw@mail.gmail.com
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/delegation.c