Linux-NFS Archive mirror
 help / color / mirror / Atom feed
From: Jeffrey Layton <jlayton@kernel.org>
To: Anna Schumaker <anna@kernel.org>,
	linux-nfs@vger.kernel.org,  trond.myklebust@hammerspace.com
Subject: Re: [PATCH] NFS: Don't enable NFS v2 by default
Date: Fri, 26 Apr 2024 08:05:08 -0400	[thread overview]
Message-ID: <7da9588d3381763c388c10567704a3abed93a578.camel@kernel.org> (raw)
In-Reply-To: <20240425203440.440780-1-anna@kernel.org>

On Thu, 2024-04-25 at 16:34 -0400, Anna Schumaker wrote:
> From: Anna Schumaker <Anna.Schumaker@Netapp.com>
> 
> 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 <Anna.Schumaker@Netapp.com>
> ---
>  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"

Reviewed-by: Jeffrey Layton <jlayton@kernel.org>

      reply	other threads:[~2024-04-26 12:05 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-25 20:34 [PATCH] NFS: Don't enable NFS v2 by default Anna Schumaker
2024-04-26 12:05 ` Jeffrey Layton [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7da9588d3381763c388c10567704a3abed93a578.camel@kernel.org \
    --to=jlayton@kernel.org \
    --cc=anna@kernel.org \
    --cc=linux-nfs@vger.kernel.org \
    --cc=trond.myklebust@hammerspace.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).