From: Theodore Ts'o Date: Thu, 26 Apr 2018 04:44:46 +0000 (-0400) Subject: ext4: add MODULE_SOFTDEP to ensure crc32c is included in the initramfs X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=55cc3bb0a6c7da92dd1332cc8e1651dc2be89bfc;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ext4: add MODULE_SOFTDEP to ensure crc32c is included in the initramfs commit 7ef79ad52136712172eb0525bf0b462516bf2f93 upstream. Fixes: a45403b51582 ("ext4: always initialize the crc32c checksum driver") Reported-by: François Valenduc Signed-off-by: Theodore Ts'o Cc: stable@vger.kernel.org Signed-off-by: Greg Kroah-Hartman --- diff --git a/fs/ext4/super.c b/fs/ext4/super.c index 3a605c672649..9102ae7709d3 100644 --- a/fs/ext4/super.c +++ b/fs/ext4/super.c @@ -5865,5 +5865,6 @@ static void __exit ext4_exit_fs(void) MODULE_AUTHOR("Remy Card, Stephen Tweedie, Andrew Morton, Andreas Dilger, Theodore Ts'o and others"); MODULE_DESCRIPTION("Fourth Extended Filesystem"); MODULE_LICENSE("GPL"); +MODULE_SOFTDEP("pre: crc32c"); module_init(ext4_init_fs) module_exit(ext4_exit_fs)