summaryrefslogtreecommitdiff
path: root/include/net/aligned_data.h
diff options
context:
space:
mode:
authorTrond Myklebust <trond.myklebust@hammerspace.com>2025-11-17 15:28:17 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-12-18 13:55:16 +0100
commitef7a9c2fae3251af92f92895063732d0c9695e0d (patch)
treed5cc70cc1ec7c86d21d98ed44f6ef9d5db386501 /include/net/aligned_data.h
parentdfa39de442ecdd166f84bfe698420c2013ea8abc (diff)
NFS: Avoid changing nlink when file removes and attribute updates race
[ Upstream commit bd4928ec799b31c492eb63f9f4a0c1e0bb4bb3f7 ] If a file removal races with another operation that updates its attributes, then skip the change to nlink, and just mark the attributes as being stale. Reported-by: Aiden Lambert <alambert48@gatech.edu> Fixes: 59a707b0d42e ("NFS: Ensure we revalidate the inode correctly after remove or rename") Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions