]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
commit7140171ea9be4143736c35acf6f31b6feb195ca0
tree0709d24a7d3a34349fcd90dec12ec5604234826a
parenta0815d556d1cfb686b46995f86fb081f623fa720
NFSv4.1/pnfs: Ensure we send layoutcommit before return-on-close

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