Commit fc4a817d authored by Trond Myklebust's avatar Trond Myklebust Committed by Greg Kroah-Hartman
Browse files

NFSv4: Don't clear capabilities that won't be reset



[ Upstream commit 31f1a960 ]

Don't clear the capabilities that are not going to get reset by the call
to _nfs4_server_capabilities().

Reported-by: default avatarScott Haiden <scott.b.haiden@gmail.com>
Fixes: b01f21ca ("NFS: Fix the setting of capabilities when automounting a new filesystem")
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent e630fa0d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment