Received: by 2002:a89:48b:0:b0:1f5:f2ab:c469 with SMTP id a11csp1376866lqd; Thu, 25 Apr 2024 13:43:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWMEqcQIEeiN27/JmB6zKqL20cmpjpjhj15gk/66X6suvusVZR0dO41jucasfVdKJRGTOPfSeXzSPmqyBpPkf4SHBnMHtdaR0gCWd3G0w== X-Google-Smtp-Source: AGHT+IHn5AbTJcAPvfH97+pcDsKQ5z/tkn+jNVBd2qJOZxkjJ2N5Gfd8I1buNiMvabd7PethOidc X-Received: by 2002:a05:6871:728a:b0:229:8236:ae9 with SMTP id mm10-20020a056871728a00b0022982360ae9mr658544oac.59.1714077806880; Thu, 25 Apr 2024 13:43:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714077806; cv=pass; d=google.com; s=arc-20160816; b=RTf9WleeIJiikqYcOKwk/kvXvUzI/YBGVmdxQ5JNbWajTRXf5SsmrZCna6CTQy2BBE mNLGj3ZaMKoSr4A7yE/QwFNQ6BC5FZ6Yt5RMQ2XLGD4Ek0WFf6fy4E/w7r/FNy5cTz1/ nblZvIVpozSbYAa4WSore7lEyY/sp7Qb91DnjU6ucN8eRTnf48/S4qHvGVDLWy3qHD9Z aVjVCl5p/cWBGkTzt01dVXr0NOO6zkizsgTaG329MV1epMMcl6xH+p7y3zVbfs3Le5I1 8/Rva7Y9R+SKAxLBlx0hFSsFvuf/Nba4yJJQlFENnqpvEHlk4wbrKAQeLRdnxLnNy69d eBmA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=RXrxDpqDd4n7b4Wg/K8kpIZNytrz0C2ocZMvByeaJT0=; fh=zrf3k9maC4LGn/MmcHhRkqh5cHnarsSKx/fWXfAmYNI=; b=jLiT74KoVikdCcoPVLhR5M/RPFwwGBJdJ8+i7f6i7YYYtfCiLrh7+zOh+uGGvdSgQy tGjaiFmylDv8bUd5cB4UijIOyIKRwvU1t23ImTf5mD3Gm24whOF9FCit4ZVGbxGiC3Cw Z08iBsvSyVkKA58gVZIkl/TejB+CqM5WxKhbhWdPi4ni5CjG5S8CGSNgy4xLuq3SXKuT Gz6B1/2yEe31lhUrW1nSvoPuUhXglVNRcXBgzanINyjzy84JeUcLZz+J/DXmJeoUsk5L QNOJfMnaotQmSE3PwlOtot9AazDwgUUwQ/cGC41954YkVPoH4ivFf1Mry6CikF56yj6o +anQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=p8jiSkUN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-nfs+bounces-3008-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-3008-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id b7-20020a633407000000b005f7feebd53bsi11429320pga.475.2024.04.25.13.43.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Apr 2024 13:43:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs+bounces-3008-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=p8jiSkUN; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-nfs+bounces-3008-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-3008-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id C8DD2287E5B for ; Thu, 25 Apr 2024 20:34:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E4CB83AC0C; Thu, 25 Apr 2024 20:34:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="p8jiSkUN" X-Original-To: linux-nfs@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id C159A18EAB for ; Thu, 25 Apr 2024 20:34:41 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714077281; cv=none; b=f7w/vW0Nb0Agss5V7okG6QuGZUhNlAXxoma1KXLb/eRGQws1DLSac/kdu1nJPhd4M26116B1OipWiKP7UXYhQTLmPkVlg9xLbsWonPRGtGRRolX3BD+zQsAYbXGn57BiAwSq6X2Q3vAeUbFIAxu0ZpzXd9qmbP3LbWzJ8egZYTA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714077281; c=relaxed/simple; bh=vfuw6iqcs9M+nkHed+CT/H30rIurPUj0/QjcIzVg47o=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=KFPutlS8k+fOhzjCqO8nWueMD2hTk2zg4dqO8XLcTre2kGY1ORHYhkck/nxhF0PHBSSvniGechnT7hMKSgcnG/I9b5ceUOiCqQMUgKNY4oCk6a2qYyeiZLzPaOI5R33MrYiKjYngxUxG16E+bdNTcFJi/9dPUNv5BLfEV8r62fw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=p8jiSkUN; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 403F6C113CC; Thu, 25 Apr 2024 20:34:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714077281; bh=vfuw6iqcs9M+nkHed+CT/H30rIurPUj0/QjcIzVg47o=; h=From:To:Cc:Subject:Date:From; b=p8jiSkUN7XXcTqAjWw/P6/cqEQ9FD4QL/eQ4dCcwOFqqRpqPyzi7y8/6zE53qKobo 1WmbyiWKY3Ypann3Mj8+ryIAeT+3gnzFGfAxu0zy1X8luYawB58ldrDThvHrLf1K7s Ofh59J1WyTgQZ9XgIyA1O4LnkOkdmJUgO71lT8tvAlbK8xmCKC+2SF+w3nfuphTX8g A2eNKO+8nO30CaFpH9ZIqFWVJ6o2S0yiawh4wIx096dGZNCaI+7jScOHJX3den5/hU kckwC5D4etZKF9qEhyPpyVpFrsgaGCoE8N1a4nwqa1ArHPPq3noL7OlLqW1/XZZN/a iO7SLR4ZYSHXQ== From: Anna Schumaker To: linux-nfs@vger.kernel.org, trond.myklebust@hammerspace.com Cc: anna@kernel.org Subject: [PATCH] NFS: Don't enable NFS v2 by default Date: Thu, 25 Apr 2024 16:34:40 -0400 Message-ID: <20240425203440.440780-1-anna@kernel.org> X-Mailer: git-send-email 2.44.0 Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Anna Schumaker This came up during one of the Bake-a-thon discussions. NFS v2 support was dropped from nfs-utils/mount.nfs in December 2021. Let's turn it off by default in the kernel too, since this means there isn't a way to mount and test it. Signed-off-by: Anna Schumaker --- fs/nfs/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/nfs/Kconfig b/fs/nfs/Kconfig index f7e32d76e34d..57249f040dfc 100644 --- a/fs/nfs/Kconfig +++ b/fs/nfs/Kconfig @@ -33,12 +33,12 @@ config NFS_FS config NFS_V2 tristate "NFS client support for NFS version 2" depends on NFS_FS - default y + default n help This option enables support for version 2 of the NFS protocol (RFC 1094) in the kernel's NFS client. - If unsure, say Y. + If unsure, say N. config NFS_V3 tristate "NFS client support for NFS version 3" -- 2.44.0