summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2018-04-26 00:44:46 -0400
committerTheodore Ts'o <tytso@mit.edu>2018-04-26 00:44:46 -0400
commit7ef79ad52136712172eb0525bf0b462516bf2f93 (patch)
tree63c9fb1c85e2118650644ed7ab97d8ea617309b9
parent22be37acce25d66ecf6403fc8f44df9c5ded2372 (diff)
downloadlinux-stable-7ef79ad52136712172eb0525bf0b462516bf2f93.tar.gz
linux-stable-7ef79ad52136712172eb0525bf0b462516bf2f93.tar.bz2
linux-stable-7ef79ad52136712172eb0525bf0b462516bf2f93.zip
ext4: add MODULE_SOFTDEP to ensure crc32c is included in the initramfs
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
-rw-r--r--fs/ext4/super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ext4/super.c b/fs/ext4/super.c
index 185f7e61f4cf..eb104e8476f0 100644
--- a/fs/ext4/super.c
+++ b/fs/ext4/super.c
@@ -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)