diff options
author | Chris Mason <[email protected]> | 2011-03-08 11:54:40 -0500 |
---|---|---|
committer | Chris Mason <[email protected]> | 2011-03-08 11:58:09 -0500 |
commit | ea8efc74bd0402b4d5f663d007b4e25fa29ea778 (patch) | |
tree | ad3f19c4281877767f6dce99f0e003284a159e71 /net/lapb/lapb_in.c | |
parent | 31339acd07b4ba687906702085127895a56eb920 (diff) |
Btrfs: make sure not to return overlapping extents to fiemap
The btrfs fiemap code was incorrectly returning duplicate or overlapping
extents in some cases. cp was blindly trusting this result and we would
end up with a destination file that was bigger than the original because
some bytes were copied twice.
The fix here adjusts our offsets to make sure we're always moving
forward in the fiemap results.
Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions