commit | 4ee4ad80dcceb42b1e5cfd2d4067a38b99b9fa95 | [log] [tgz] |
---|---|---|
author | Darrick J. Wong <darrick.wong@oracle.com> | Mon Oct 07 09:51:20 2013 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Mon Oct 07 09:51:20 2013 -0400 |
tree | 8bbee855ed4e8714e9b35c55e0473dc918962c0e | |
parent | 5d494038eede1bb538441dedf4207529629154b3 [diff] |
libext2fs: allow callers to punch a single block The range of blocks to punch is treated as an inclusive range on both ends, i.e. if start=1 and end=2, both blocks 1 and 2 are punched out. Thus, start == end means that the caller wishes to punch a single block. Remove the check that prevents us from punching a single block. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>