Bug 213089 - Add "pre: crc32" softdep
Summary: Add "pre: crc32" softdep
Status: RESOLVED CODE_FIX
Alias: None
Product: File System
Classification: Unclassified
Component: f2fs (show other bugs)
Hardware: All Linux
: P1 low
Assignee: Default virtual assignee for f2fs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-15 19:58 UTC by Marcos Mello
Modified: 2021-07-10 08:15 UTC (History)
1 user (show)

See Also:
Kernel Version: 5.12.1
Tree: Mainline
Regression: No


Attachments

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

Note You need to log in before you can comment on or make changes to this bug.