diff options
author | Dave Chinner <[email protected]> | 2014-04-14 18:14:11 +1000 |
---|---|---|
committer | Dave Chinner <[email protected]> | 2014-04-14 18:14:11 +1000 |
commit | aad3f3755e7f043789b772856d1a2935f2b41a4b (patch) | |
tree | 36d8fdb1bf1f6214148ab791353427c3bf0847a1 /net/lapb/lapb_out.c | |
parent | 72ab70a19b4ebb19dbe2a79faaa6a4ccead58e70 (diff) |
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 <[email protected]>
Tested-by: Brian Foster <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Dave Chinner <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions