Magellan Linux

Annotation of /trunk/dracut/patches/dracut-047-fs-lib_install_crc32c_for_ext4.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3130 - (hide annotations) (download)
Fri Jun 15 13:34:16 2018 UTC (5 years, 11 months ago) by niro
File size: 1036 byte(s)
-upstream patches to fix some kernel module issues
1 niro 3130 From 384eeedd2d24b6953a8591524edde810ab880883 Mon Sep 17 00:00:00 2001
2     From: Marcos Mello <marcosfrm@gmail.com>
3     Date: Fri, 6 Apr 2018 08:19:27 -0300
4     Subject: fs-lib: install crc32c for ext4
5    
6     EXT4 filesystems created with metadata_csum (enabled by default in mke2fs 1.44+) or ea_inode need crc32c.
7    
8     https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git/commit/?id=d0b9e0a6aa7d6805338a43b4e372623352d8df09
9     https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/tree/fs/ext4/super.c?h=v4.15.15#n3491
10     ---
11     modules.d/99fs-lib/module-setup.sh | 2 +-
12     1 file changed, 1 insertion(+), 1 deletion(-)
13    
14     diff --git a/modules.d/99fs-lib/module-setup.sh b/modules.d/99fs-lib/module-setup.sh
15     index e614fe5..b69277e 100755
16     --- a/modules.d/99fs-lib/module-setup.sh
17     +++ b/modules.d/99fs-lib/module-setup.sh
18     @@ -38,7 +38,7 @@ echo_fs_helper() {
19     include_fs_helper_modules() {
20     local dev=$1 fs=$2
21     case "$fs" in
22     - xfs|btrfs)
23     + xfs|btrfs|ext4)
24     instmods crc32c
25     ;;
26     f2fs)
27     --
28     cgit v1.1
29