ext4: fix the length returned by fiemap for an unallocated extent
authorTheodore Ts'o <tytso@mit.edu>
Sat, 2 May 2009 23:05:37 +0000 (19:05 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 2 May 2009 23:05:37 +0000 (19:05 -0400)
If the file's blocks have not yet been allocated because of delayed
allocation, the length of the extent returned by fiemap is incorrect.
This commit fixes this bug.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>

No differences found