commit | 050006a753bab8ba05f2113cc57ba49398cd5521 | [log] [tgz] |
---|---|---|
author | Sage Weil <sage@newdream.net> | Fri Oct 29 15:37:33 2010 -0400 |
committer | Chris Mason <chris.mason@oracle.com> | Fri Oct 29 15:37:33 2010 -0400 |
tree | 43b8bdc0ce9f76d2726096dbfbc72a04c141afa6 | |
parent | 9a019196ecaa57780141ef5d1f0bb31050d6ed5b [diff] |
Btrfs: fix clone ioctl where range is adjacent to extent We had an edge case issue where the requested range was just following an existing extent. Instead of skipping to the next extent, we used the previous one which lead to having zero sized extents. Signed-off-by: Yehuda Sadeh <yehuda@hq.newdream.net> Signed-off-by: Chris Mason <chris.mason@oracle.com>