OSDN Git Service

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: a45403b51582 ("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 185f7e6..eb104e8 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)