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)
commit3c13cb5b647ebe36fb79128bc8b917d2a3317b65
tree04fdc0eb8041c2123c4e605d6a259ea8cca012b8
parent4ff376feaf57af94e08c8df769e7c48b805ac897
NFSv4.1/pnfs: Play safe w.r.t. close() races when return-on-close is set

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