dracut/0100-fs-lib-f2fs-needs-crc32-not-crc32c.patch

29 lines
780 B
Diff
Raw Normal View History

2016-08-18 11:30:10 +00:00
From 34a42f9f49d4ad8897c4890af5b9a455e1335c66 Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald@redhat.com>
Date: Fri, 8 Jul 2016 10:01:52 +0200
Subject: [PATCH] fs-lib: f2fs needs crc32 not crc32c
*sigh*
---
modules.d/99fs-lib/module-setup.sh | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/modules.d/99fs-lib/module-setup.sh b/modules.d/99fs-lib/module-setup.sh
index 2c5f4c0..bd61838 100755
--- a/modules.d/99fs-lib/module-setup.sh
+++ b/modules.d/99fs-lib/module-setup.sh
@@ -41,9 +41,12 @@ echo_fs_helper() {
include_fs_helper_modules() {
local dev=$1 fs=$2
case "$fs" in
- xfs|btrfs|f2fs)
+ xfs|btrfs)
instmods crc32c
;;
+ f2fs)
+ instmods crc32
+ ;;
esac
}