]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ext4: add MODULE_SOFTDEP to ensure crc32c is included in the initramfs
authorTheodore Ts'o <tytso@mit.edu>
Thu, 26 Apr 2018 04:44:46 +0000 (00:44 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 26 Apr 2018 04:44:46 +0000 (00:44 -0400)
Fixes: 18c67f8c3e25 ("ext4: always initialize the crc32c checksum driver")
Reported-by: François Valenduc <francoisvalenduc@gmail.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: stable@vger.kernel.org
fs/ext4/super.c

index 185f7e61f4cfe00531e71e772a519af005f6bd69..eb104e8476f040e61253a6676c93e882e5a22314 100644 (file)
@@ -5886,5 +5886,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)