Comments

Code to count the number of blocks in the last partial
group is cut and pasted around the e2fsprogs codebase, and
is wrong in at least one instancem as pointed out by
Yongqiang Yang (but not fixed in this patch).
Making this a helper function should improve matters.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
---
(I have not fixed up the spot Yongqiang Yang discovered,
but this helper should now make that fix easy to do.)
e2fsck/pass5.c | 6 +-----
lib/ext2fs/alloc_sb.c | 10 +---------
lib/ext2fs/blknum.c | 19 +++++++++++++++++++
lib/ext2fs/closefs.c | 9 +--------
lib/ext2fs/ext2fs.h | 1 +
resize/online.c | 7 +------
resize/resize2fs.c | 14 ++------------
7 files changed, 26 insertions(+), 40 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html