Blame 0098-fs-lib-add-crc32c-kernel-module-for-f2fs.patch

Harald Hoyer 414eba
From f8ff380bd5aadc00061c6537c54ca14728ded6cd Mon Sep 17 00:00:00 2001
Harald Hoyer 414eba
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer 414eba
Date: Thu, 7 Jul 2016 09:43:48 +0200
Harald Hoyer 414eba
Subject: [PATCH] fs-lib: add crc32c kernel module for f2fs
Harald Hoyer 414eba
Harald Hoyer 414eba
---
Harald Hoyer 414eba
 modules.d/99fs-lib/module-setup.sh | 8 ++++----
Harald Hoyer 414eba
 1 file changed, 4 insertions(+), 4 deletions(-)
Harald Hoyer 414eba
Harald Hoyer 414eba
diff --git a/modules.d/99fs-lib/module-setup.sh b/modules.d/99fs-lib/module-setup.sh
Harald Hoyer 414eba
index a29a350..2c5f4c0 100755
Harald Hoyer 414eba
--- a/modules.d/99fs-lib/module-setup.sh
Harald Hoyer 414eba
+++ b/modules.d/99fs-lib/module-setup.sh
Harald Hoyer 414eba
@@ -20,9 +20,9 @@ echo_fs_helper() {
Harald Hoyer 414eba
         ext?)
Harald Hoyer 414eba
             echo -n " e2fsck "
Harald Hoyer 414eba
             ;;
Harald Hoyer 414eba
-	f2fs)
Harald Hoyer 414eba
-	    echo -n " fsck.f2fs "
Harald Hoyer 414eba
-	    ;;
Harald Hoyer 414eba
+        f2fs)
Harald Hoyer 414eba
+            echo -n " fsck.f2fs "
Harald Hoyer 414eba
+            ;;
Harald Hoyer 414eba
         jfs)
Harald Hoyer 414eba
             echo -n " jfs_fsck "
Harald Hoyer 414eba
             ;;
Harald Hoyer 414eba
@@ -41,7 +41,7 @@ echo_fs_helper() {
Harald Hoyer 414eba
 include_fs_helper_modules() {
Harald Hoyer 414eba
     local dev=$1 fs=$2
Harald Hoyer 414eba
     case "$fs" in
Harald Hoyer 414eba
-        xfs|btrfs)
Harald Hoyer 414eba
+        xfs|btrfs|f2fs)
Harald Hoyer 414eba
             instmods crc32c
Harald Hoyer 414eba
             ;;
Harald Hoyer 414eba
     esac