diff options
author | 2025-07-15 12:43:41 -0700 | |
---|---|---|
committer | 2025-08-05 16:45:39 -0700 | |
commit | e144d53cf21fb9d02626c669533788c6bdc61ce3 (patch) | |
tree | bbf004a0792637b0bb459703f7498797a8ad88e5 /tools/perf/scripts/python | |
parent | NFSv4: Remove duplicate lookups, capability probes and fsinfo calls (diff) | |
download | wireguard-linux-e144d53cf21fb9d02626c669533788c6bdc61ce3.tar.xz wireguard-linux-e144d53cf21fb9d02626c669533788c6bdc61ce3.zip |
NFS/localio: nfs_close_local_fh() fix check for file closed
If the struct nfs_file_localio is closed, its list entry will be empty,
but the nfs_uuid->files list might still contain other entries.
Acked-by: Mike Snitzer <snitzer@kernel.org>
Tested-by: Mike Snitzer <snitzer@kernel.org>
Reviewed-by: NeilBrown <neil@brown.name>
Fixes: 21fb44034695 ("nfs_localio: protect race between nfs_uuid_put() and nfs_close_local_fh()")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions