From patchwork Fri Jan 22 09:23:50 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean Delvare X-Patchwork-Id: 8088501 Return-Path: X-Original-To: patchwork-cifs-client@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 1B5D19F1CC for ; Fri, 22 Jan 2016 09:23:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 53CEC2042A for ; Fri, 22 Jan 2016 09:23:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 81F6920429 for ; Fri, 22 Jan 2016 09:23:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752034AbcAVJXy (ORCPT ); Fri, 22 Jan 2016 04:23:54 -0500 Received: from mx2.suse.de ([195.135.220.15]:55536 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751854AbcAVJXw (ORCPT ); Fri, 22 Jan 2016 04:23:52 -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 8D6E6ACCC; Fri, 22 Jan 2016 09:23:50 +0000 (UTC) Date: Fri, 22 Jan 2016 10:23:50 +0100 From: Jean Delvare To: linux-cifs@vger.kernel.org Cc: Steve French Subject: [PATCH 3/3] cifs: Add soft dependencies Message-ID: <20160122102350.01fb58e1@endymion.delvare> In-Reply-To: <20160122101654.20fa96e3@endymion.delvare> References: <20160122101654.20fa96e3@endymion.delvare> Organization: SUSE Linux X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.23; 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-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.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.5-rc0.orig/fs/cifs/cifsfs.c 2016-01-22 09:52:03.649746373 +0100 +++ linux-4.5-rc0/fs/cifs/cifsfs.c 2016-01-22 10:03:03.156927472 +0100 @@ -1359,5 +1359,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)