diff options
author | 2025-07-12 18:18:43 +0100 | |
---|---|---|
committer | 2025-07-14 10:13:31 +0200 | |
commit | fdfe0133473a528e3f5da69c35419ce6711d6b89 (patch) | |
tree | ad0203cd8b9d6623521ccee9777e5cc01082b928 /tools/perf/scripts/python/Perf-Trace-Util/lib | |
parent | iomap: avoid unnecessary ifs_set_range_uptodate() with locks (diff) | |
download | wireguard-linux-fdfe0133473a528e3f5da69c35419ce6711d6b89.tar.xz wireguard-linux-fdfe0133473a528e3f5da69c35419ce6711d6b89.zip |
fix a leak in fcntl_dirnotify()
[into #fixes, unless somebody objects]
Lifetime of new_dn_mark is controlled by that of its ->fsn_mark,
pointed to by new_fsn_mark. Unfortunately, a failure exit had
been inserted between the allocation of new_dn_mark and the
call of fsnotify_init_mark(), ending up with a leak.
Fixes: 1934b212615d "file: reclaim 24 bytes from f_owner"
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Link: https://lore.kernel.org/20250712171843.GB1880847@ZenIV
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib')
0 files changed, 0 insertions, 0 deletions