commit | 29559b11aef072f893cd32280dcec9d7380ca011 | [log] [tgz] |
---|---|---|
author | Trond Myklebust <trond.myklebust@primarydata.com> | Wed Mar 25 20:10:20 2015 -0400 |
committer | Trond Myklebust <trond.myklebust@primarydata.com> | Fri Mar 27 12:39:35 2015 -0400 |
tree | ad46d8aeb9c4154208f7a565aaeb1241d8ee6b8c | |
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>