From patchwork Tue Jan 31 01:43:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steve French X-Patchwork-Id: 13122117 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id ECCF4C636D3 for ; Tue, 31 Jan 2023 01:44:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230348AbjAaBoD (ORCPT ); Mon, 30 Jan 2023 20:44:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54158 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229495AbjAaBoA (ORCPT ); Mon, 30 Jan 2023 20:44:00 -0500 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2416218168 for ; Mon, 30 Jan 2023 17:43:54 -0800 (PST) Received: by mail-lf1-x136.google.com with SMTP id br9so22053435lfb.4 for ; Mon, 30 Jan 2023 17:43:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=PvVBNXFKcDVmnF0G8dxRma1Qf+R9GPrNRRCeXY5fE3w=; b=YMmTw2qRcQe5z41FZSDgZnKIsQYeAzEfQEED77X2TuTcgh6rhmqdnwLNjHZo4glAf4 0U4TYD4dvxqu1SZVPCe1P7TPOEM6hbLCBnzo8zQqpzTq0mI9csJjsD9XVBnPlzi4FiaC b/8PrgoKKedtTArW6s5ihWo5150uA7dsWSWJMGIhgCCzAg1VawqyGUwEFYVRbPVVAwYI 6ZCs2Iv3qI7YlhZuSb4FH/7374BehZnbt66Qx/+MjOJwNXDcW8adr58eXlqK+vvRVRdh W1K+IzUdiO7iTgZalpk3bkxGEVs1OW3nJ7o32amoGR4Gn8KF6E66c7z7uETspoy74hL3 PIZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=PvVBNXFKcDVmnF0G8dxRma1Qf+R9GPrNRRCeXY5fE3w=; b=uO2UEts4PXQnNMWguiZg3S9PjmHY4rKCMSLir1i2D9jnJhS3/ziSrcjPrVJft47YBm VvipJS7Rvk7Hh7LtqS9dbtBHN4mLIh57KtQ+iQQBaJoBdJfHAjOtWwCeOGZC8c8Lrq42 NCK9eq+gIZVmkjgAqXb8opIzF/urhRHkhakn64RRlIWL10Ap6hb+a07nur1yvD6oxYG7 YSsHkLJgz5FfLFiLe+NL1ucYiv2c/uTP5W0FEKgXOiIIgSFGiiqHj/rSA8eyQmzOh+86 y+JqdY7UmqTU/0Jb0JTYyjpjDIEkuE8JDqbQHY1GXYLLvpVYEf9xBeIzKAHkorgJzloJ 1VRQ== X-Gm-Message-State: AFqh2kqJ3q9rad/FWDlpXCJ0eciSN1UHR+bZpqc3aNfPH3hIwlh5nYCd J/matrmNjuABML/cfvNjSHc4409gMuiSCWCzu71W4+zqaLY= X-Google-Smtp-Source: AMrXdXtc/rriuVa07q0HHHVNpXa2U2h2W1RMxTVW/jnSy2BkPj3F/3E5/aVVv264QyJHzI59nhTz8B1RcRoKmIFoV6M= X-Received: by 2002:a19:f602:0:b0:4ca:f757:6c91 with SMTP id x2-20020a19f602000000b004caf7576c91mr3454005lfe.92.1675129431859; Mon, 30 Jan 2023 17:43:51 -0800 (PST) MIME-Version: 1.0 From: Steve French Date: Mon, 30 Jan 2023 19:43:40 -0600 Message-ID: Subject: cifs: fix indentation in make menuconfig options To: CIFS Cc: David Howells Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org The options that are displayed for the smb3.1.1/cifs client in "make menuconfig" are confusing because some of them are not indented making them not appear to be related to cifs.ko Fix that by adding an if/endif (similar to what ceph and 9pm did) if fs/cifs/Kconfig Suggested-by: David Howells Signed-off-by: Steve French CIFS=y && INFINIBAND=y && INFINIBAND_ADDR_TRANS=y @@ -198,3 +200,5 @@ config CIFS_ROOT Enables root file system support over SMB protocol. Most people say N here. + +endif From e8c718e4cc5de2de456492147fa5cac20660fa7e Mon Sep 17 00:00:00 2001 From: Steve French Date: Mon, 30 Jan 2023 19:32:52 -0600 Subject: [PATCH] cifs: fix indentation in make menuconfig options The options that are displayed for the smb3.1.1/cifs client in "make menuconfig" are confusing because some of them are not indented making them not appear to be related to cifs.ko Fix that by adding an if/endif (similar to what ceph and 9pm did) if fs/cifs/Kconfig Suggested-by: David Howells Signed-off-by: Steve French --- fs/cifs/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fs/cifs/Kconfig b/fs/cifs/Kconfig index 1e021c0b0653..bbf63a9eb927 100644 --- a/fs/cifs/Kconfig +++ b/fs/cifs/Kconfig @@ -175,6 +175,8 @@ config CIFS_NFSD_EXPORT help Allows NFS server to export a CIFS mounted share (nfsd over cifs) +if CIFS + config CIFS_SMB_DIRECT bool "SMB Direct support" depends on CIFS=m && INFINIBAND && INFINIBAND_ADDR_TRANS || CIFS=y && INFINIBAND=y && INFINIBAND_ADDR_TRANS=y @@ -198,3 +200,5 @@ config CIFS_ROOT Enables root file system support over SMB protocol. Most people say N here. + +endif -- 2.34.1