]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
cifs: Add soft dependencies
authorJean Delvare <jdelvare@suse.de>
Wed, 25 Jan 2017 15:09:10 +0000 (16:09 +0100)
committerSteve French <smfrench@gmail.com>
Wed, 1 Feb 2017 22:46:34 +0000 (16:46 -0600)
List soft dependencies of cifs so that mkinitrd and dracut can include
the required helper modules.

Reviewed-by: Pavel Shilovsky <pshilov@microsoft.com>
Signed-off-by: Jean Delvare <jdelvare@suse.de>
Cc: Steve French <sfrench@samba.org>
fs/cifs/cifsfs.c

index 70f4e65fced233613746e33422cf6efa4e9b0ea0..956dd85d7aef98a4749c7e0adff5dbee149c76bc 100644 (file)
@@ -1365,5 +1365,17 @@ MODULE_DESCRIPTION
     ("VFS to access servers complying with the SNIA CIFS Specification "
      "e.g. Samba and Windows");
 MODULE_VERSION(CIFS_VERSION);
+MODULE_SOFTDEP("pre: arc4");
+MODULE_SOFTDEP("pre: des");
+MODULE_SOFTDEP("pre: ecb");
+MODULE_SOFTDEP("pre: hmac");
+MODULE_SOFTDEP("pre: md4");
+MODULE_SOFTDEP("pre: md5");
+MODULE_SOFTDEP("pre: nls");
+#ifdef CONFIG_CIFS_SMB2
+MODULE_SOFTDEP("pre: aes");
+MODULE_SOFTDEP("pre: cmac");
+MODULE_SOFTDEP("pre: sha256");
+#endif /* CONFIG_CIFS_SMB2 */
 module_init(init_cifs)
 module_exit(exit_cifs)