From patchwork Wed Jan 25 15:09:10 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean Delvare X-Patchwork-Id: 9537249 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A69126046A for ; Wed, 25 Jan 2017 15:09:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 994D51FE82 for ; Wed, 25 Jan 2017 15:09:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8E2462807B; Wed, 25 Jan 2017 15:09:18 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 180801FE82 for ; Wed, 25 Jan 2017 15:09:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750858AbdAYPJR (ORCPT ); Wed, 25 Jan 2017 10:09:17 -0500 Received: from mx2.suse.de ([195.135.220.15]:44810 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750814AbdAYPJQ (ORCPT ); Wed, 25 Jan 2017 10:09:16 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 80A54ADA1; Wed, 25 Jan 2017 15:09:14 +0000 (UTC) Date: Wed, 25 Jan 2017 16:09:10 +0100 From: Jean Delvare To: linux-cifs@vger.kernel.org Cc: Steve French , LKML Subject: [PATCH 3/3] cifs: Add soft dependencies Message-ID: <20170125160910.12928e3c@endymion> In-Reply-To: <20170125160639.255cd58e@endymion> References: <20170125160639.255cd58e@endymion> Organization: SUSE Linux X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.31; x86_64-suse-linux-gnu) MIME-Version: 1.0 Sender: linux-cifs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP List soft dependencies of cifs so that mkinitrd and dracut can include the required helper modules. Signed-off-by: Jean Delvare Cc: Steve French --- 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)