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)
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

Simple merge
Simple merge
Simple merge