NFSv4: fix open/lock state recovery error handling
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 27 Sep 2014 21:41:51 +0000 (17:41 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sun, 28 Sep 2014 20:03:04 +0000 (16:03 -0400)
commitdf817ba35736db2d62b07de6f050a4db53492ad8
tree17ec04c7b55512954968f5873bb55d613eca3072
parenta4339b7b686b4acc8b6de2b07d7bacbe3ae44b83
NFSv4: fix open/lock state recovery error handling

The current open/lock state recovery unfortunately does not handle errors
such as NFS4ERR_CONN_NOT_BOUND_TO_SESSION correctly. Instead of looping,
just proceeds as if the state manager is finished recovering.
This patch ensures that we loop back, handle higher priority errors
and complete the open/lock state recovery.

Cc: stable@vger.kernel.org
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4state.c