Re: [PATCH 5.15, 5.10, 5.4] NFSv4: Don't clear capabilities that won't be reset
From: Greg Kroah-Hartman
Date: Mon Sep 29 2025 - 09:23:11 EST
On Thu, Sep 25, 2025 at 06:28:00PM +0530, Siddh Raman Pant wrote:
> From: Trond Myklebust <trond.myklebust@xxxxxxxxxxxxxxx>
>
> Don't clear the capabilities that are not going to get reset by the call
> to _nfs4_server_capabilities().
>
> Reported-by: Scott Haiden <scott.b.haiden@xxxxxxxxx>
> Fixes: b01f21cacde9 ("NFS: Fix the setting of capabilities when automounting a new filesystem")
> Signed-off-by: Trond Myklebust <trond.myklebust@xxxxxxxxxxxxxxx>
> (cherry picked from commit 31f1a960ad1a14def94fa0b8c25d62b4c032813f)
> Signed-off-by: Siddh Raman Pant <siddh.raman.pant@xxxxxxxxxx>
> ---
> This got backported till 6.1 but not later for some reason. It got
> cherry-picked cleanly.
It's in the queue, just not been released yet, thanks.
greg k-h