Update debian/changelog and debian/patches for the 1.47.0-2 release

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
diff --git a/debian/changelog b/debian/changelog
index 60a0a9b..0888b33 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+e2fsprogs (1.47.0-2) unstable; urgency=medium
+
+  * Don't enable metadata_csum_seed and orhpan_file by default (Closes:
+    #1031622, #1030939)
+
+ -- Theodore Y. Ts'o <tytso@mit.edu>  Sat, 04 Mar 2023 22:16:08 -0500
+
 e2fsprogs (1.47.0-1) unstable; urgency=medium
 
   * New upstream version
diff --git a/debian/patches/disable-metadata_csum_seed-and-orphan_file-by-default b/debian/patches/disable-metadata_csum_seed-and-orphan_file-by-default
new file mode 100644
index 0000000..2176f4d
--- /dev/null
+++ b/debian/patches/disable-metadata_csum_seed-and-orphan_file-by-default
@@ -0,0 +1,34 @@
+Description: Disable metadata_csum_seed and orphan_file by default for Debian
+ .
+ There are a lot of debian packages that assume that mkfs.ext4 for
+ Debian N will work on Debian N-1 (and sometimes N-2, N-3, etc.).  This
+ is a bad assumption, but it's too late to fix this for Debian
+ Bookworm.
+ .
+ So revert making these feature a default for now.  We will enable it
+ again post Bookworm.
+Author: Theodore Ts'o <tytso@mit.edu>
+Origin: vendor
+Forwarded: not-needed
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031622
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1030939
+---
+ misc/mke2fs.conf.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/misc/mke2fs.conf.in b/misc/mke2fs.conf.in
+index b7fc95df..05680992 100644
+--- a/misc/mke2fs.conf.in
++++ b/misc/mke2fs.conf.in
+@@ -11,7 +11,7 @@
+ 		features = has_journal
+ 	}
+ 	ext4 = {
+-		features = has_journal,extent,huge_file,flex_bg,metadata_csum,metadata_csum_seed,64bit,dir_nlink,extra_isize,orphan_file
++		features = has_journal,extent,huge_file,flex_bg,metadata_csum,64bit,dir_nlink,extra_isize
+ 	}
+ 	small = {
+ 		blocksize = 1024
+-- 
+2.31.0
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e3c2ee0
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+disable-metadata_csum_seed-and-orphan_file-by-default