linux-cifs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jean Delvare <jdelvare-l3A5Bk7waGM@public.gmane.org>
To: linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Cc: Steve French <sfrench-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>,
	LKML <linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: [PATCH 3/3] cifs: Add soft dependencies
Date: Wed, 25 Jan 2017 16:09:10 +0100	[thread overview]
Message-ID: <20170125160910.12928e3c@endymion> (raw)
In-Reply-To: <20170125160639.255cd58e@endymion>

List soft dependencies of cifs so that mkinitrd and dracut can include
the required helper modules.

Signed-off-by: Jean Delvare <jdelvare-l3A5Bk7waGM@public.gmane.org>
Cc: Steve French <sfrench-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
---
 fs/cifs/cifsfs.c |   12 ++++++++++++
 1 file changed, 12 insertions(+)

--- linux-4.10-rc5.orig/fs/cifs/cifsfs.c	2017-01-16 11:13:06.974673377 +0100
+++ linux-4.10-rc5/fs/cifs/cifsfs.c	2017-01-25 14:57:06.724389810 +0100
@@ -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)

-- 
Jean Delvare
SUSE L3 Support

  parent reply	other threads:[~2017-01-25 15:09 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-25 15:06 [PATCH 0/3] cifs: Better dependencies Jean Delvare
2017-01-25 15:07 ` [PATCH 1/3] cifs: Simplify SMB2 and SMB311 dependencies Jean Delvare
2017-01-25 15:08 ` [PATCH 2/3] cifs: Only select the required crypto modules Jean Delvare
2017-01-25 15:09 ` Jean Delvare [this message]
2017-01-25 19:26 ` [PATCH 0/3] cifs: Better dependencies Pavel Shilovsky
     [not found]   ` <CAKywueQdAQ004cy2gGQTeDCeHwoT70Wug5LUgenANqGrmi9ziw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-02-01 20:01     ` Steve French
  -- strict thread matches above, loose matches on Subject: below --
2016-01-22  9:16 Jean Delvare
     [not found] ` <20160122101654.20fa96e3-R0o5gVi9kd7kN2dkZ6Wm7A@public.gmane.org>
2016-01-22  9:23   ` [PATCH 3/3] cifs: Add soft dependencies Jean Delvare

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170125160910.12928e3c@endymion \
    --to=jdelvare-l3a5bk7wagm@public.gmane.org \
    --cc=linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=sfrench-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).