Skip to content

Commit 7ef79ad

Browse files
committed
ext4: add MODULE_SOFTDEP to ensure crc32c is included in the initramfs
Fixes: a45403b ("ext4: always initialize the crc32c checksum driver") Reported-by: François Valenduc <[email protected]> Signed-off-by: Theodore Ts'o <[email protected]> Cc: [email protected]
1 parent 22be37a commit 7ef79ad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fs/ext4/super.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5886,5 +5886,6 @@ static void __exit ext4_exit_fs(void)
58865886
MODULE_AUTHOR("Remy Card, Stephen Tweedie, Andrew Morton, Andreas Dilger, Theodore Ts'o and others");
58875887
MODULE_DESCRIPTION("Fourth Extended Filesystem");
58885888
MODULE_LICENSE("GPL");
5889+
MODULE_SOFTDEP("pre: crc32c");
58895890
module_init(ext4_init_fs)
58905891
module_exit(ext4_exit_fs)

0 commit comments

Comments
 (0)