]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fs-lib: install crc32c for ext4
authorMarcos Mello <marcosfrm@gmail.com>
Fri, 6 Apr 2018 11:19:27 +0000 (08:19 -0300)
committerHarald Hoyer <harald@hoyer.xyz>
Mon, 9 Apr 2018 06:19:51 +0000 (08:19 +0200)
EXT4 filesystems created with metadata_csum (enabled by default in mke2fs 1.44+) or ea_inode need crc32c.

https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git/commit/?id=d0b9e0a6aa7d6805338a43b4e372623352d8df09
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/tree/fs/ext4/super.c?h=v4.15.15#n3491

modules.d/99fs-lib/module-setup.sh

index e614fe5f5a316591d0699af047e8e658c1efa446..b69277e249a3ada80d570b93ad57640774381f77 100755 (executable)
@@ -38,7 +38,7 @@ echo_fs_helper() {
 include_fs_helper_modules() {
     local dev=$1 fs=$2
     case "$fs" in
-        xfs|btrfs)
+        xfs|btrfs|ext4)
             instmods crc32c
             ;;
         f2fs)