diff options
author | Jeff Layton <[email protected]> | 2024-07-10 09:05:32 -0400 |
---|---|---|
committer | Chuck Lever <[email protected]> | 2024-09-01 10:04:54 -0400 |
commit | 8a7926176378460e0d91e02b03f0ff20a8709a60 (patch) | |
tree | 5643739511450b1a7d3bfdda7232f2725f009c65 /drivers/usb/cdns3/cdns3-trace.c | |
parent | 81a95c2b1d605743220f28db04b8da13a65c4059 (diff) |
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 <[email protected]>
Tested-by: Youzhong Yang <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions