]> git.baikalelectronics.ru Git - kernel.git/commit
NFSv4: Fix an atomicity problem in CLOSE
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 23 Jan 2015 20:32:46 +0000 (15:32 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 24 Jan 2015 00:22:39 +0000 (19:22 -0500)
commitbe66560fea017ffa3922a2d2ab429166b7ccaea9
tree380320b28a9fa7885c580976407a2bd28003cd12
parente8c159632e132395c7d4e2be5eb9a144ef800288
NFSv4: Fix an atomicity problem in CLOSE

If we are to remove the serialisation of OPEN/CLOSE, then we need to
ensure that the stateid sent as part of a CLOSE operation does not
change after we test the state in nfs4_close_prepare.

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