NFSv4: Fix atomicity problems with lock stateid updates
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 24 Jan 2015 20:07:56 +0000 (15:07 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 24 Jan 2015 22:27:41 +0000 (17:27 -0500)
When we update the lock stateid, we really do need to ensure that this is
done under the state->state_lock, and that we are indeed only updating
confirmed locks with a newer version of the same stateid.

Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
fs/nfs/nfs4proc.c

Simple merge