Also update debian patches to indicate they are all upstream patches.
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
+e2fsprogs (1.47.2-3) unstable; urgency=medium
+
+ * Fix a typo in fuse2fs.postrm which breaks /usr-move mitigation
+ (Closes: #1107595)
+
+ -- Theodore Y. Ts'o <tytso@mit.edu> Tue, 10 Jun 2025 14:59:29 -0400
+
e2fsprogs (1.47.2-2) unstable; urgency=medium
* Fix integer overflow bug which resulted in fuse2fs failing to delete
Jakub Wilk (1):
e2image.8: add missing comma
-Theodore Ts'o (12):
+Theodore Ts'o (13):
e2fsck: fix logic bug when there are no references to an EA inode
test: fix expect files which changed after EA bugfix
libext2fs: teach ext2fs_extent_set_bmap() to update extents more
ext2fs_extent_set_bmap()
libext2fs: fix integer overflow in ext2fs_punch() when releasing more
than 2**31 blocks
+ debian: fix typo in fuse2fs.postrm which breaks a /usr-move mitigation
debian/control | 1 +
debian/copyright | 8 +-
+ debian/fuse2fs.postrm | 2 +-
debian/rules | 2 +-
debugfs/dump.c | 4 +-
debugfs/htree.c | 6 +
tests/f_badcluster/expect | 8 +-
tests/f_ea_inode_disconnected/expect.1 | 2 +
tests/f_ea_inode_self_ref/expect.1 | 2 -
- 18 files changed, 155 insertions(+), 304 deletions(-)
+ 18 files changed, 156 insertions(+), 305 deletions(-)
--
2.47.2
e2fsck: aborted
Fixes: 849a9e6e133a ("e2fsck: add more checks for ea inode consistency")
-Origin: https://github.com/tytso/e2fsprogs/commit/92b6e93936d7a0f6d7ce7a9f142e2c0ee9afbeaf
+Origin: upstream, https://github.com/tytso/e2fsprogs/commit/92b6e93936d7a0f6d7ce7a9f142e2c0ee9afbeaf
---
e2fsck/pass4.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
not cleaned up. Fix the tests so that they pass as expected.
Fixes: 92b6e93936d7 ("e2fsck: fix logic bug when there are no references..."
-Origin: https://github.com/tytso/e2fsprogs/commit/ddd4f796d9dfdb80e5639ca8411e8e4891d3c7f1
+Origin: upstream, https://github.com/tytso/e2fsprogs/commit/ddd4f796d9dfdb80e5639ca8411e8e4891d3c7f1
---
tests/f_ea_inode_disconnected/expect.1 | 2 ++
tests/f_ea_inode_self_ref/expect.1 | 2 --
This resulted a corrupted extent tree block and data loss.
-Origin: https://github.com/tytso/e2fsprogs/commit/ea825a53bcb214de7356c2ebd8a10d005613bec3
+Origin: upstream, https://github.com/tytso/e2fsprogs/commit/ea825a53bcb214de7356c2ebd8a10d005613bec3
---
lib/ext2fs/extent.c | 25 ++++++++++++++++++++++++-
tests/f_badcluster/expect | 8 ++++----
From: Jakub Wilk <jwilk@jwilk.net>
Subject: e2image.8: add missing comma
-Origin: https://github.com/tytso/e2fsprogs/commit/5a6ec683252be78ccda7dec7dac530f2ebc46ce6
+Origin: upstream, https://github.com/tytso/e2fsprogs/commit/5a6ec683252be78ccda7dec7dac530f2ebc46ce6
---
misc/e2image.8.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
length values, for example. To resolve this problem, byte swap the
directory buffer on big endian systems.
-Origin: https://github.com/tytso/e2fsprogs/commit/4be42019388d76c933e3b2ea80284aaf5b8eaecb
+Origin: upstream, https://github.com/tytso/e2fsprogs/commit/4be42019388d76c933e3b2ea80284aaf5b8eaecb
---
debugfs/htree.c | 6 ++++++
1 file changed, 6 insertions(+)
Don't mount a filesystem with superblock features that we don't actually
know how to support.
-Origin: https://github.com/tytso/e2fsprogs/commit/ccbc6f24fed095b28f9faa7b575159e49787fae0
+Origin: upstream, https://github.com/tytso/e2fsprogs/commit/ccbc6f24fed095b28f9faa7b575159e49787fae0
---
misc/fuse2fs.c | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
return EOPNOTSUPP to communicate that we don't support that mode instead
of EINVAL. This avoids unnecessary failures in generic/521.
-Origin: https://github.com/tytso/e2fsprogs/commit/7775293c08d2255e90b1e003ee532d826af52d95
+Origin: upstream, https://github.com/tytso/e2fsprogs/commit/7775293c08d2255e90b1e003ee532d826af52d95
---
misc/fuse2fs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
that now.
Fixes: 0ee1eaf70c257e ("libext2fs: translate internal ext4 acl to Posix ACL in ext2fs_xattr_[sg]et()")
-Origin: https://github.com/tytso/e2fsprogs/commit/0111bdb70a9c460052387111414a2e2dc8c06822
+Origin: upstream, https://github.com/tytso/e2fsprogs/commit/0111bdb70a9c460052387111414a2e2dc8c06822
---
misc/fuse2fs.c | 267 +------------------------------------------------
1 file changed, 4 insertions(+), 263 deletions(-)
values permitted given the ondisk format. This fixes y2038 support, as
tested by generic/402.
-Origin: https://github.com/tytso/e2fsprogs/commit/e13395876d63cebf008101b934ee9e5cdaae0150
+Origin: upstream, https://github.com/tytso/e2fsprogs/commit/e13395876d63cebf008101b934ee9e5cdaae0150
---
lib/ext2fs/ext2_fs.h | 4 ++++
misc/fuse2fs.c | 39 ++++++++++++++++++++++++++++++++-------
These two file creation functions fail to update the timestamps of the
new child file, unlike the others (mknod/creat). Fix that.
-Origin: https://github.com/tytso/e2fsprogs/commit/f73fbf8e2cee1f2d49f4e7573eadb9f1cf141879
+Origin: upstream, https://github.com/tytso/e2fsprogs/commit/f73fbf8e2cee1f2d49f4e7573eadb9f1cf141879
---
misc/fuse2fs.c | 2 ++
1 file changed, 2 insertions(+)
otherwise we do a regular rename for a RENAME_EXCHANGE/WHITEOUT, which
is not what the user asked for.
-Origin: https://github.com/tytso/e2fsprogs/commit/b431abbc8fe0fd1de4e414aae3520c4c19411048
+Origin: upstream, https://github.com/tytso/e2fsprogs/commit/b431abbc8fe0fd1de4e414aae3520c4c19411048
---
misc/fuse2fs.c | 6 ++++++
1 file changed, 6 insertions(+)
[1] https://github.com/tytso/e2fsprogs/pull/149
-Origin: https://github.com/tytso/e2fsprogs/commit/51d68472456d22b6e64159244be63bce51473691
+Origin: upstream, https://github.com/tytso/e2fsprogs/commit/51d68472456d22b6e64159244be63bce51473691
---
debugfs/dump.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
allow to create a filesystem that has -O verity unless it also supports
extents.
-Origin: https://github.com/tytso/e2fsprogs/commit/03fa1a5ee55d0653f5931cea3cab760599bab216
+Origin: upstream, https://github.com/tytso/e2fsprogs/commit/03fa1a5ee55d0653f5931cea3cab760599bab216
---
misc/mke2fs.c | 8 ++++++++
1 file changed, 8 insertions(+)
check in e2fsck_pass1() to clear the shared blocks flag.
Bug: https://github.com/tytso/e2fsprogs/issues/218
-Origin: https://github.com/tytso/e2fsprogs/commit/707af4359e132bc415c3f6339f4ced9f23b28c0b
+Origin: upstream, https://github.com/tytso/e2fsprogs/commit/707af4359e132bc415c3f6339f4ced9f23b28c0b
---
e2fsck/pass1.c | 5 +++++
1 file changed, 5 insertions(+)
message if the user specifies a zero chunksize.
Addresses-Coverity-Bug: 1633767
-Origin: https://github.com/tytso/e2fsprogs/commit/3e059df08de94abde1ddd82008d0658584a35e5e
+Origin: upstream, https://github.com/tytso/e2fsprogs/commit/3e059df08de94abde1ddd82008d0658584a35e5e
---
misc/e2freefrag.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Prevent the user from specifying group descriptor that result in
invalid/corrupted file systems.
-Origin: https://github.com/tytso/e2fsprogs/commit/326e8ab43503dd9f44338754c84cb03a725ecc49
+Origin: upstream, https://github.com/tytso/e2fsprogs/commit/326e8ab43503dd9f44338754c84cb03a725ecc49
---
misc/mke2fs.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
From: Theodore Ts'o <tytso@mit.edu>
Subject: debugfs: return after printing the usage message in the e2freefrag command
-Origin: https://github.com/tytso/e2fsprogs/commit/0c675a67c5684252e3a228c824b0accb9f3ab5d7
+Origin: upstream, https://github.com/tytso/e2fsprogs/commit/0c675a67c5684252e3a228c824b0accb9f3ab5d7
---
misc/e2freefrag.c | 9 +++++++++
1 file changed, 9 insertions(+)
Problem existed since commit 3c22bf7e70 from twelve years ago.
-Origin: https://github.com/tytso/e2fsprogs/commit/4d6cfa2557de7d0878fed3203ac36d3e91df183f
+Origin: upstream, https://github.com/tytso/e2fsprogs/commit/4d6cfa2557de7d0878fed3203ac36d3e91df183f
---
misc/mke2fs.8.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
ext2fs_extent_goto() after calling this function. Or simply don't map
the same lblk with two extents, ever.
-Origin: https://github.com/tytso/e2fsprogs/commit/b914701223255c116745a11f30563652c9fdbb4b
+Origin: upstream, https://github.com/tytso/e2fsprogs/commit/b914701223255c116745a11f30563652c9fdbb4b
---
lib/ext2fs/extent.c | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
From: Theodore Ts'o <tytso@mit.edu>
Subject: libext2fs: fix integer overflow in ext2fs_punch() when releasing more than 2**31 blocks
-Origin: https://github.com/tytso/e2fsprogs/commit/34b2a4a1f9794498ca403393003cc5840c240d42
+Origin: upstream, https://github.com/tytso/e2fsprogs/commit/34b2a4a1f9794498ca403393003cc5840c240d42
Bug-Debian: http://bugs.debian.org/1106241
---
lib/ext2fs/punch.c | 8 ++++----