]> git.baikalelectronics.ru Git - kernel.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)
commit2755ccf8c41693627bb72c604148cea566970de3
tree0709d24a7d3a34349fcd90dec12ec5604234826a
parent9d0aafe2231824c70b5f2fabee8fd49d27846318
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