]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaa2dde5ab47802dc99f3bcc68742661df8e0455c
treea5eb6dbf670233f04396262ce6f3ed370ec87d71
parent907b45df7bbda967c34ed57f97650a6c58e036d2
NFSv4: Fix atomicity problems with lock stateid updates

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