]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4.1: Clear the old state by our client id before establishing a new lease
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 4 Mar 2015 01:35:31 +0000 (20:35 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 4 Mar 2015 02:52:30 +0000 (21:52 -0500)
commit1f9f1399a0c37f6970a22eec81e85fa7ef398bff
tree2b07c087911fe9c2db2f38943af888c693efe163
parent6ecc0a30ea55e555006f2d78f9cda97affdd2161
NFSv4.1: Clear the old state by our client id before establishing a new lease

If the call to exchange-id returns with the EXCHGID4_FLAG_CONFIRMED_R flag
set, then that means our lease was established by a previous mount instance.
Ensure that we detect this situation, and that we clear the state held by
that mount.

Reported-by: Jorge Mora <Jorge.Mora@netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4proc.c
fs/nfs/nfs4session.h
fs/nfs/nfs4state.c