]> git.baikalelectronics.ru Git - kernel.git/commit
Fixing lease renewal
authorOlga Kornievskaia <kolga@netapp.com>
Wed, 24 Sep 2014 22:11:28 +0000 (18:11 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Thu, 25 Sep 2014 03:03:15 +0000 (23:03 -0400)
commit6ebb395aa67f604a0728152cbfdd99c318dfa02a
treee03e448aabe0d50270be2afb73c12b8bb15bf6e7
parentc8628bf18dfb7df4f42ffb6f5d73f8652fe8fbdd
Fixing lease renewal

Commit 1af2c53f removed a 'continue' after checking if the lease needs
to be renewed. However, if client hasn't moved, the code falls down to
starting reboot recovery erroneously (ie., sends open reclaim and gets
back stale_clientid error) before recovering from getting stale_clientid
on the renew operation.

Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Fixes: 1af2c53fef55 (NFS: Add basic migration support to state manager thread)
Cc: stable@vger.kernel.org # 3.13+
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4state.c