diff options
author | Jean Delvare <jdelvare@suse.de> | 2017-01-25 10:09:10 -0500 |
---|---|---|
committer | Steve French <smfrench@gmail.com> | 2017-02-01 17:46:34 -0500 |
commit | b9be76d585d48cb25af8db0d35e1ef9030fbe13a (patch) | |
tree | 0e097820b4eba5a867746a393effb011b5a97d4f | |
parent | 3692304bba6164be3810afd41b84ecb0e1e41db1 (diff) |
cifs: Add soft dependencies
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>
-rw-r--r-- | fs/cifs/cifsfs.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c index 70f4e65fced2..956dd85d7aef 100644 --- a/fs/cifs/cifsfs.c +++ b/fs/cifs/cifsfs.c | |||
@@ -1365,5 +1365,17 @@ MODULE_DESCRIPTION | |||
1365 | ("VFS to access servers complying with the SNIA CIFS Specification " | 1365 | ("VFS to access servers complying with the SNIA CIFS Specification " |
1366 | "e.g. Samba and Windows"); | 1366 | "e.g. Samba and Windows"); |
1367 | MODULE_VERSION(CIFS_VERSION); | 1367 | 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 */ | ||
1368 | module_init(init_cifs) | 1380 | module_init(init_cifs) |
1369 | module_exit(exit_cifs) | 1381 | module_exit(exit_cifs) |