From: Trond Myklebust Date: Thu, 26 Mar 2015 00:10:20 +0000 (-0400) Subject: NFSv4.1/pnfs: Fix setting of layoutcommit last write byte X-Git-Tag: omap-for-v4.1/fixes-rc1~19^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=29559b11aef072f893cd32280dcec9d7380ca011;p=pandora-kernel.git NFSv4.1/pnfs: Fix setting of layoutcommit last write byte If the NFS_INO_LAYOUTCOMMIT flag was unset, then we _must_ ensure that we also reset the last write byte (lwb) for that layout. The current code depends on us clearing the lwb when we clear NFS_INO_LAYOUTCOMMIT, which is not the case when we call pnfs_clear_layoutcommit(). Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed