Received: by 2002:ab2:3c46:0:b0:1f5:f2ab:c469 with SMTP id x6csp221554lqf; Fri, 26 Apr 2024 05:05:57 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVc0a/Zf8QcTGIbKJZ4Ka9oWUu00PWo8E8SmmLCgcD/DKlHpRiJuzjKAtsbgHyHVtEKdS0EN89h6yKNht+/ppp6bfM23WVkcuBOylkscg== X-Google-Smtp-Source: AGHT+IEm/yQRVYxMj+o0Jn2D2qR0gU0vYyL50w+UfqRYRklKKpKS7nOuenAJnW2Jdz3dYIzhqOqK X-Received: by 2002:a17:90b:787:b0:2a0:4495:1f3d with SMTP id l7-20020a17090b078700b002a044951f3dmr2765311pjz.0.1714133157048; Fri, 26 Apr 2024 05:05:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714133157; cv=pass; d=google.com; s=arc-20160816; b=GZ/q6ZRd+Prh9jOnz681kghy8i7wgMd9iezmdAusd1cWHaJxgFjww47MAYm9/aTCNd dY1xdhN6mf7KAhN1f898vU8YTogF72l5bLXXrHWpAMImmVWpJJ58rHMFIHuy5qO3+cAu eX3cbWjbSCqrQmzk8At9iR1oomAbWYW4we5oZlVqtz294xAhY+o39IV0UF19VOx9MwkX 2nolpGN8AknpQATTEISrWkzof0IxLCit1tz5E+qiG5KEfjjD01t7ejzqf+QjgBfSH1Xp GDGIxIK9mBAbb/AYbLcOzhX5rUcDaYPeyA2L07pS+pmIY7l1shBAwpS2xPaSpHDnkI4r 63TQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:to :from:subject:message-id:dkim-signature; bh=CQlgn4CxAcMlxohsgZw3pRfdLbT/yxhWlcBC3y0OI+0=; fh=hb7qaEif5sYMm14GqU/jpSBHJVzP7wJuA1RAK3MVkNY=; b=SKrGJVgwRFrHmbqFErSIwcOzXgG/wMRSjjxqz5wV//2+fI550o1qAKKSpzi7GbRb2K 161fR1IkV3bOisW1bBsjTcqqJSx6rW53qqfs3kknFzncTJou3wXd8WL/tzc1HvLNud8A q95dsNRpOS9VYIFWIpIgxi3PwOxK1UqRPYafYAkETvpcyJBvc8WiOvbfNSre5igMVelu d9mel+tV/c26J9+uthpmFYWdprF/h+Uh/M6Ek8oACQck1uqbS+zcbiQgqqscejZ38j7J V2R/MPtArGprZmKo0x6titr1CfsA4BGmjnP3lCyZEwLZ+KjtH2HfZGepaGSG9nZTK7+w 2QGg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iBNujVud; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-nfs+bounces-3033-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-3033-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id b10-20020a17090a12ca00b002a20d2cf9e8si15048651pjg.157.2024.04.26.05.05.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 05:05:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs+bounces-3033-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=iBNujVud; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-nfs+bounces-3033-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-nfs+bounces-3033-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 8FF7FB21B5C for ; Fri, 26 Apr 2024 12:05:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DC62F14534D; Fri, 26 Apr 2024 12:05:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="iBNujVud" 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 B7EC814534B for ; Fri, 26 Apr 2024 12:05:10 +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=1714133110; cv=none; b=P58vWEZKP2CFIcr3NVRhyUfo1VNa3j7saq6jmG5EF9DbkGbHX5nT+gnjHO0jmZeAIRz1j4G1DrDbxS70uBKa6d+DxCsKEteQBGNZFKBXksCpZiQwjw7H2D4wHBsU/37YetDmdy6STQeMPO0W5Yw3+rrP5FwFyXx4vwiMm1SiG00= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714133110; c=relaxed/simple; bh=0Ek+fj7rmY/qxLHBKIqR/JFu2ia/m6CInV6a2GcZOX0=; h=Message-ID:Subject:From:To:Date:In-Reply-To:References: Content-Type:MIME-Version; b=sQuhkr1aMrrog3tms2slm1yoh40ri/Vx4TcDRMjMsjS2/TAlvvOHyj+faFf67GadsNkNDscFh2z3+GjssKv1CseyjL+gKav2ag5VwLmnMpNIHuoirpAeDsFnsFJ0qe8Wc/I7Ln/pqh7eMR67ezl49Mo8CWfMDcZ1BbLVQiWyYUY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=iBNujVud; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id E61A4C113CD; Fri, 26 Apr 2024 12:05:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1714133110; bh=0Ek+fj7rmY/qxLHBKIqR/JFu2ia/m6CInV6a2GcZOX0=; h=Subject:From:To:Date:In-Reply-To:References:From; b=iBNujVudZb3ZVKClBs6POqBqmeNKkHyWIRKM5ahCfiHcTF7BJ3KnnpgBfCvMUEy48 KmKEX015GXEGC3Ss0q4pET3nHQTJso4ubtxvCfXZGcDzdh51lyL+pUdcIfVacim9o3 o1x9B1rjwQ49ZgRGAVX0eEr9VKNHBN0vq78nOEF59RSKNJLmqRRK8XhjutsfMy2iZ5 mM8EEoxUtD7ZPE/VSR5MudC3wQZpH4pRFECcTJTrPlHAJQ7rSkALBoE5rM1lasj3vn m1IlJ3ssrWJNbvosih6uH7ABRH1ByFSGxp6U5ew+cyL4K420MfKiqdijHWDajQxqBB jcefKEt4BsVwQ== Message-ID: <7da9588d3381763c388c10567704a3abed93a578.camel@kernel.org> Subject: Re: [PATCH] NFS: Don't enable NFS v2 by default From: Jeffrey Layton To: Anna Schumaker , linux-nfs@vger.kernel.org, trond.myklebust@hammerspace.com Date: Fri, 26 Apr 2024 08:05:08 -0400 In-Reply-To: <20240425203440.440780-1-anna@kernel.org> References: <20240425203440.440780-1-anna@kernel.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.0 (3.52.0-1.fc40app1) Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Thu, 2024-04-25 at 16:34 -0400, Anna Schumaker wrote: > From: Anna Schumaker >=20 > 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. >=20 > Signed-off-by: Anna Schumaker > --- > fs/nfs/Kconfig | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > 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. > =20 > - If unsure, say Y. > + If unsure, say N. > =20 > config NFS_V3 > tristate "NFS client support for NFS version 3" Reviewed-by: Jeffrey Layton