diff options
| author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2025-11-17 15:28:17 -0500 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-12-18 14:03:33 +0100 |
| commit | f0f456c327f5728ca632746cdfae0bf4f6bc5188 (patch) | |
| tree | 302c1a3341cd471dea592d23040a727b6003a2d2 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 530f1ba287937726ff220de9c82566e74e35dcae (diff) | |
| download | kernel-f0f456c327f5728ca632746cdfae0bf4f6bc5188.tar.gz | |
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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
