Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
None
-
3
-
9223372036854775807
Description
ldiskfs_fiemap() can return a hole in form
{0,0,0}and then the following construction recognizes this as an allocated space:
if (start > block) { cached_extent->start = block; cached_extent->end = start; cached_extent->mapped = 0; } else { cached_extent->start = start; cached_extent->end = (fe.fe_logical + fe.fe_length) >> inode->i_blkbits; cached_extent->mapped = 1; }