NFSv4.1: Always clear the NFS_INO_LAYOUTCOMMIT in layoutreturn
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 20 Mar 2013 17:03:00 +0000 (13:03 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Thu, 21 Mar 2013 14:31:21 +0000 (10:31 -0400)
Note that clearing NFS_INO_LAYOUTCOMMIT is tricky, since it requires
you to also clear the NFS_LSEG_LAYOUTCOMMIT bits from the layout
segments.
The only two sites that need to do this are the ones that call
pnfs_return_layout() without first doing a layout commit.

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Acked-by: Benny Halevy <bhalevy@tonian.com>
Cc: stable@vger.kernel.org

No differences found