Skip to content

Commit b9be76d

Browse files
jdelvaresmfrench
authored andcommitted
cifs: Add soft dependencies
List soft dependencies of cifs so that mkinitrd and dracut can include the required helper modules. Reviewed-by: Pavel Shilovsky <[email protected]> Signed-off-by: Jean Delvare <[email protected]> Cc: Steve French <[email protected]>
1 parent 3692304 commit b9be76d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

fs/cifs/cifsfs.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1365,5 +1365,17 @@ MODULE_DESCRIPTION
13651365
("VFS to access servers complying with the SNIA CIFS Specification "
13661366
"e.g. Samba and Windows");
13671367
MODULE_VERSION(CIFS_VERSION);
1368+
MODULE_SOFTDEP("pre: arc4");
1369+
MODULE_SOFTDEP("pre: des");
1370+
MODULE_SOFTDEP("pre: ecb");
1371+
MODULE_SOFTDEP("pre: hmac");
1372+
MODULE_SOFTDEP("pre: md4");
1373+
MODULE_SOFTDEP("pre: md5");
1374+
MODULE_SOFTDEP("pre: nls");
1375+
#ifdef CONFIG_CIFS_SMB2
1376+
MODULE_SOFTDEP("pre: aes");
1377+
MODULE_SOFTDEP("pre: cmac");
1378+
MODULE_SOFTDEP("pre: sha256");
1379+
#endif /* CONFIG_CIFS_SMB2 */
13681380
module_init(init_cifs)
13691381
module_exit(exit_cifs)

0 commit comments

Comments
 (0)