]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerJiri Slaby <jslaby@suse.cz>
Fri, 31 Oct 2014 14:11:19 +0000 (15:11 +0100)
commit655a42808ddd513ee764a1a2e8d62871bcface3b
tree018306940ed671cecbe5e2c400e9c7458651fb4a
parent1bb9921c95d773f093fe861b0ee11572b0c5b775
NFSv4: fix open/lock state recovery error handling

commit df817ba35736db2d62b07de6f050a4db53492ad8 upstream.

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.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
fs/nfs/nfs4state.c