]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fs-lib: add crc32c kernel module for f2fs
authorHarald Hoyer <harald@redhat.com>
Thu, 7 Jul 2016 07:43:48 +0000 (09:43 +0200)
committerHarald Hoyer <harald@redhat.com>
Thu, 7 Jul 2016 07:43:48 +0000 (09:43 +0200)
modules.d/99fs-lib/module-setup.sh

index a29a35093c9c0245b0d3fa647ae54a0b21a904d1..2c5f4c0e3039d2d9d8a91f79787918e3d4ee35cb 100755 (executable)
@@ -20,9 +20,9 @@ echo_fs_helper() {
         ext?)
             echo -n " e2fsck "
             ;;
-       f2fs)
-           echo -n " fsck.f2fs "
-           ;;
+        f2fs)
+            echo -n " fsck.f2fs "
+            ;;
         jfs)
             echo -n " jfs_fsck "
             ;;
@@ -41,7 +41,7 @@ echo_fs_helper() {
 include_fs_helper_modules() {
     local dev=$1 fs=$2
     case "$fs" in
-        xfs|btrfs)
+        xfs|btrfs|f2fs)
             instmods crc32c
             ;;
     esac