]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit723b7d0ac8a6b3f92e94f9afb89a1f05ce4b2223
tree17ec04c7b55512954968f5873bb55d613eca3072
parent81200f567c112a86daaba5b77281826358922453
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