aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_trace.h
diff options
context:
space:
mode:
authorDave Chinner <dchinner@redhat.com>2014-04-14 18:14:11 +1000
committerDave Chinner <david@fromorbit.com>2014-04-14 18:14:11 +1000
commitaad3f3755e7f043789b772856d1a2935f2b41a4b (patch)
tree36d8fdb1bf1f6214148ab791353427c3bf0847a1 /fs/xfs/xfs_trace.h
parentxfs: write failure beyond EOF truncates too much data (diff)
downloadlinux-dev-aad3f3755e7f043789b772856d1a2935f2b41a4b.tar.xz
linux-dev-aad3f3755e7f043789b772856d1a2935f2b41a4b.zip
xfs: xfs_vm_write_end truncates too much on failure
Similar to the write_begin problem, xfs-vm_write_end will truncate back to the old EOF, potentially removing page cache from over the top of delalloc blocks with valid data in them. Fix this by truncating back to just the start of the failed write. Signed-off-by: Dave Chinner <dchinner@redhat.com> Tested-by: Brian Foster <bfoster@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'fs/xfs/xfs_trace.h')
0 files changed, 0 insertions, 0 deletions