]> git.karo-electronics.de Git - linux-beck.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)
commit566fcec60b7458784d4ed9bca974c5a56dacf214
tree380320b28a9fa7885c580976407a2bd28003cd12
parent2ef47eb1aee171ecf1d83311b9f7fae80f330181
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