From: Liu Bo Date: Fri, 9 May 2014 02:01:02 +0000 (+0800) Subject: Btrfs: fix EIO on reading file after ioctl clone works on it X-Git-Tag: omap-for-v3.16/fixes-against-rc1~154^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3ecfcdf9108c833e4e501bfa02ecf673a0ace59;p=pandora-kernel.git 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 Signed-off-by: Liu Bo Signed-off-by: Chris Mason --- Reading git-diff-tree failed