This patch introduces new badblocks list functions for ext4 filesystems which use the new type blk64_t. badblocks.c | 471 +++++++++++++++++++++++++++++++++++++++++++++++++----------- ext2fs.h | 28 ++- ext2fsP.h | 13 + freefs.c | 19 -- 4 files changed, 423 insertions(+), 108 deletions(-)