commit | 855c2ecb21d1556c26d61df9b014e1c79dbbc956 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Wed May 24 21:56:36 2017 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Wed May 24 22:12:39 2017 -0400 |
tree | 7af68b95e00e443261b0c720157bc39b1cacaff2 | |
parent | 6eae35c0a8f18877988bc963e920cf715aa3347f [diff] |
e2fsck: fix sparse bmap to extent conversion When e2fsck is trying to convert a sparse block-mapped file to an extent file, we incorrectly merge block mappings that are physically contiguous but not logically contiguous because of insufficient checking with the extent we're constructing. Therefore, compare the logical offsets for contiguity as well. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: Theodore Ts'o <tytso@mit.edu>