Jan Kara facab4d971 ext4: return hole from ext4_map_blocks()
Currently, ext4_map_blocks() just returns 0 when it finds a hole and
allocation is not requested. However we have all the information
available to tell how large the hole actually is and there are callers
of ext4_map_blocks() which would save some block-by-block hole iteration
if they knew this information. So fill in struct ext4_map_blocks even
for holes with the information we have. We keep returning 0 for holes to
maintain backward compatibility of the function.

Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
2016-03-09 22:54:00 -05:00
..
2015-04-02 23:47:42 -04:00
2015-04-02 23:47:42 -04:00
2016-02-16 00:20:19 -05:00
2016-03-08 23:39:21 -05:00
2015-04-02 23:47:42 -04:00
2014-02-20 13:32:10 -05:00
2016-03-08 23:39:21 -05:00
2016-02-12 01:15:59 -05:00
2016-03-08 23:39:21 -05:00
2016-02-22 22:35:22 -05:00