diff options
author | Liu Bo <bo.li.liu@oracle.com> | 2014-05-09 10:01:02 +0800 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-05-20 10:17:48 -0700 |
commit | d3ecfcdf9108c833e4e501bfa02ecf673a0ace59 (patch) | |
tree | 83733f1f456047ba4f435f2fa06182707e4fe320 /fs/btrfs/send.c | |
parent | cfd4a535b68faf651b238586011f5bae128391c4 (diff) |
Btrfs: fix EIO on reading file after ioctl clone works on it
For inline data extent, we need to make its length aligned, otherwise,
we can get a phantom extent map which confuses readpages() to return -EIO.
This can be detected by xfstests/btrfs/035.
Reported-by: David Disseldorp <ddiss@suse.de>
Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/send.c')
0 files changed, 0 insertions, 0 deletions