]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
NFSv4: Don't check for OPEN feature support in v4.1
authorScott Mayhew <smayhew@redhat.com>
Wed, 30 Apr 2025 11:12:29 +0000 (07:12 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2025 10:11:15 +0000 (11:11 +0100)
commit95c4322c2a7e9e709c734dd6bf27061af73407cf
treec1fece53d45434ffefc708e2f372b90d5dc3f832
parentc08e00a416a8c4e40d81066287288e0da7a3534d
NFSv4: Don't check for OPEN feature support in v4.1

commit 4d4832ed13ff505fe0371544b4773e79be2bb964 upstream.

fattr4_open_arguments is a v4.2 recommended attribute, so we shouldn't
be sending it to v4.1 servers.

Fixes: cb78f9b7d0c0 ("nfs: fix the fetch of FATTR4_OPEN_ARGUMENTS")
Signed-off-by: Scott Mayhew <smayhew@redhat.com>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Benjamin Coddington <bcodding@redhat.com>
Cc: stable@vger.kernel.org # 6.11+
Signed-off-by: Anna Schumaker <anna.schumaker@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfs/nfs4proc.c