summaryrefslogtreecommitdiff
path: root/fs/nfs/nfs4proc.c
diff options
context:
space:
mode:
authorBenjamin Coddington <bcodding@redhat.com>2016-10-11 19:53:21 (GMT)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>2016-10-13 20:42:53 (GMT)
commita3f9d1b58a9ffce011ef4f074bfa36ae30eade28 (patch)
tree3b835438b0bee423b97c5129de3d82da296aa25c /fs/nfs/nfs4proc.c
parent3f807e5ae5597bd65a6fff684083e8eaa21f3fa7 (diff)
downloadlinux-a3f9d1b58a9ffce011ef4f074bfa36ae30eade28.tar.xz
pnfs/blocklayout: fix last_write_offset incorrectly set to page boundary
Commit 41963c10c47a35185e68cb9049f7a3493c94d2d7 sets the block layout's last written byte to the offset of the end of the extent rather than the end of the write which incorrectly updates the inode's size for partial-page writes. Fixes: 41963c10c47a ("pnfs/blocklayout: update last_write_offset atomically with extents") Signed-off-by: Benjamin Coddington <bcodding@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Tested-by: Christoph Hellwig <hch@lst.de> Cc: stable@vger.kernel.org # 4.8+ Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
Diffstat (limited to 'fs/nfs/nfs4proc.c')
0 files changed, 0 insertions, 0 deletions