NFSv4: More CLOSE/OPEN races
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 23 Jan 2015 23:06:09 +0000 (18:06 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Sat, 24 Jan 2015 04:06:44 +0000 (23:06 -0500)
If an OPEN RPC call races with a CLOSE or OPEN_DOWNGRADE so that it
updates the nfs_state structure before the CLOSE/OPEN_DOWNGRADE has
a chance to do so, then we know that the state->flags need to be
recalculated from scratch.

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

Simple merge