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)
commitf95549cf24660255c880b3ea7ee2d7d08de1f5c5
treeae5c01fed19ffc8834fe276d4d0077e78b9225c6
parent566fcec60b7458784d4ed9bca974c5a56dacf214
NFSv4: More CLOSE/OPEN races

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