summaryrefslogtreecommitdiff
path: root/fs/nfs/filelayout
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@primarydata.com>2015-03-26 03:10:20 +0300
committerTrond Myklebust <trond.myklebust@primarydata.com>2015-03-27 19:39:35 +0300
commit29559b11aef072f893cd32280dcec9d7380ca011 (patch)
treead46d8aeb9c4154208f7a565aaeb1241d8ee6b8c /fs/nfs/filelayout
parent415320fc14eca40b564d1797e68895d15b51ac49 (diff)
downloadlinux-29559b11aef072f893cd32280dcec9d7380ca011.tar.xz
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 <trond.myklebust@primarydata.com>
Diffstat (limited to 'fs/nfs/filelayout')
0 files changed, 0 insertions, 0 deletions