NFSv4.1/pnfs: Ensure we send layoutcommit before return-on-close
authorTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 25 Mar 2015 16:36:13 +0000 (12:36 -0400)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 27 Mar 2015 16:39:38 +0000 (12:39 -0400)
We must not send a close or delegreturn that would result in a
return-on-close of the layout without ensuring that we've also
sent the necessary layoutcommit.

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

diff --cc fs/nfs/pnfs.c
Simple merge