Bug 213089

Summary: Add "pre: crc32" softdep
Product: File System Reporter: Marcos Mello (marcosfrm)
Component: f2fsAssignee: Default virtual assignee for f2fs (filesystem_f2fs)
Status: RESOLVED CODE_FIX    
Severity: low CC: arcticgane, chao, keliser792, zachcook1991
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 5.12.1 Subsystem:
Regression: No Bisected commit-id:

Description Marcos Mello 2021-05-15 19:58:36 UTC
initramfs generators rely on "pre" softdeps (and "depends") to include additional required modules.

f2fs does not declare "pre: crc32" softdep. Then every generator (dracut, mkinitcpio...) has to maintain a hardcoded list for this purpose.

Hence please use MODULE_SOFTDEP("pre: crc32") in f2fs code.
Comment 1 Chao Yu 2021-07-10 08:15:27 UTC
Was fixed with below commit, so close this issue.

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0dd571785d61528d62cdd8aa49d76bc6085152fe
Comment 4 Zachary Cook 2022-09-08 01:34:29 UTC
*** Bug 187471 has been marked as a duplicate of this bug. ***