From patchwork Wed Jan 25 15:07:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jean Delvare X-Patchwork-Id: 9537229 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 276076046A for ; Wed, 25 Jan 2017 15:07:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 199361FE82 for ; Wed, 25 Jan 2017 15:07:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0E87627FA6; Wed, 25 Jan 2017 15:07:38 +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 8CA871FE82 for ; Wed, 25 Jan 2017 15:07:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751203AbdAYPHg (ORCPT ); Wed, 25 Jan 2017 10:07:36 -0500 Received: from mx2.suse.de ([195.135.220.15]:44493 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750723AbdAYPHf (ORCPT ); Wed, 25 Jan 2017 10:07:35 -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 45AC1AD23; Wed, 25 Jan 2017 15:07:33 +0000 (UTC) Date: Wed, 25 Jan 2017 16:07:29 +0100 From: Jean Delvare To: linux-cifs@vger.kernel.org Cc: Steve French , LKML Subject: [PATCH 1/3] cifs: Simplify SMB2 and SMB311 dependencies Message-ID: <20170125160729.1c80eade@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 * CIFS_SMB2 depends on CIFS, which depends on INET and selects NLS. So these dependencies do not need to be repeated for CIFS_SMB2. * CIFS_SMB311 depends on CIFS_SMB2, which depends on INET. So this dependency doesn't need to be repeated for CIFS_SMB311. Signed-off-by: Jean Delvare Cc: Steve French --- fs/cifs/Kconfig | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- linux-4.5-rc0.orig/fs/cifs/Kconfig 2016-01-11 00:01:32.000000000 +0100 +++ linux-4.5-rc0/fs/cifs/Kconfig 2016-01-22 09:48:02.217561471 +0100 @@ -169,8 +169,7 @@ config CIFS_NFSD_EXPORT config CIFS_SMB2 bool "SMB2 and SMB3 network file system support" - depends on CIFS && INET - select NLS + depends on CIFS select KEYS select FSCACHE select DNS_RESOLVER @@ -194,7 +193,7 @@ config CIFS_SMB2 config CIFS_SMB311 bool "SMB3.1.1 network file system support (Experimental)" - depends on CIFS_SMB2 && INET + depends on CIFS_SMB2 help This enables experimental support for the newest, SMB3.1.1, dialect.