• Bug#1107599: marked as done (pre-unblock: e2fsprogs/1.47.2-3) (3/3)

    From Debian Bug Tracking System@21:1/5 to Theodore Ts'o on Wed Jun 18 12:00:01 2025
    [continued from previous message]

    + errcode_t retval;
    + blk64_t free_start, next, lfree_start;
    + __u32 free_count, newlen;
    +- int freed = 0;
    ++ blk64_t freed = 0;
    + int op;
    +
    + retval = ext2fs_extent_open2(fs, ino, inode, &handle);
    +@@ -442,7 +442,7 @@ static errcode_t ext2fs_punch_extent(ext2_filsys fs, ext2_ino_t ino,
    + if (retval)
    + goto errout;
    + }
    +- dbg_printf("Freed %d blocks\n", freed);
    ++ dbg_printf("Freed %llu blocks\n", freed);
    + retval = ext2fs_iblk_sub_blocks(fs, inode, freed);
    + errout:
    + ext2fs_extent_free(handle);
    +--
    +2.47.2
    +
    diff -Nru e2fsprogs-1.47.2/debian/patches/series e2fsprogs-1.47.2/debian/patches/series
    --- e2fsprogs-1.47.2/debian/patches/series 1969-12-31 19:00:00.000000000 -0500
    +++ e2fsprogs-1.47.2/debian/patches/series 2025-06-09 20:49:10.000000000 -0400
    @@ -0,0 +1,20 @@ +0001-e2fsck-fix-logic-bug-when-there-are-no-references-to.patch +0002-test-fix-expect-files-which-changed-after-EA-bugfix.patch +0003-libext2fs-teach-ext2fs_extent_set_bmap-to-update-ext.patch +0004-e2image.8-add-missing-comma.patch +0005-debugfs-byteswap-dirsearch-dirent-buf-on-big-endian-.patch +0006-fuse2fs-refuse-unsupported-features.patch +0007-fuse2fs-return-EOPNOTSUPP-when-we-don-t-recognize-a-.patch +0008-fuse2fs-remove-posix-acl-translation.patch +0009-fuse2fs-clamp-timestamps-that-are-being-written-to-d.patch +0010-fuse2fs-update-new-child-timestamps-during-mkdir-sym.patch +0011-fuse2fs-disable-renameat2.patch +0012-debugfs-abort-reading-a-file-on-failure-when-dumping.patch +0013-mke2fs-disallow-O-verity-without-extents.patch +0014-e2fsck-fix-e2fsck-E-unshare_blocks-when-there-are-no.patch +0015-e2freefrag-req