NFSv4: Update of VFS byte range lock must be atomic with the stateid update
authorTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 24 Jan 2015 21:03:52 +0000 (16:03 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 24 Jan 2015 23:46:47 +0000 (18:46 -0500)
Ensure that we test the lock stateid remained unchanged while we were
updating the VFS tracking of the byte range lock. Have the process
replay the lock to the server if we detect that was not the case.

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

Simple merge
Simple merge