NFSv4.1/pnfs: Play safe w.r.t. close() races when return-on-close is set
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 19 Aug 2015 04:45:13 +0000 (23:45 -0500)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 19 Aug 2015 04:45:13 +0000 (23:45 -0500)
If we have an OPEN_DOWNGRADE and CLOSE race with one another, we want
to ensure that the layout is forgotten by the client, so that we
start afresh with a new layoutget.

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

Simple merge