diff options
author | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-03-25 20:10:20 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2015-03-27 12:39:35 -0400 |
commit | 29559b11aef072f893cd32280dcec9d7380ca011 (patch) | |
tree | ad46d8aeb9c4154208f7a565aaeb1241d8ee6b8c /fs/kernfs | |
parent | 415320fc14eca40b564d1797e68895d15b51ac49 (diff) |
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/kernfs')
0 files changed, 0 insertions, 0 deletions