diff options
author | 2024-07-10 09:05:32 -0400 | |
---|---|---|
committer | 2024-09-01 10:04:54 -0400 | |
commit | 8a7926176378460e0d91e02b03f0ff20a8709a60 (patch) | |
tree | 5643739511450b1a7d3bfdda7232f2725f009c65 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | nfsd: remove unneeded EEXIST error check in nfsd_do_file_acquire (diff) | |
download | wireguard-linux-8a7926176378460e0d91e02b03f0ff20a8709a60.tar.xz wireguard-linux-8a7926176378460e0d91e02b03f0ff20a8709a60.zip |
nfsd: fix refcount leak when file is unhashed after being found
If we wait_for_construction and find that the file is no longer hashed,
and we're going to retry the open, the old nfsd_file reference is
currently leaked. Put the reference before retrying.
Fixes: c6593366c0bf ("nfsd: don't kill nfsd_files because of lease break error")
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Tested-by: Youzhong Yang <youzhong@gmail.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions