linux-yocto/fs/notify
Al Viro fdfe013347
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: 1934b21261 "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>
2025-07-14 10:13:31 +02:00
..
dnotify fix a leak in fcntl_dirnotify() 2025-07-14 10:13:31 +02:00
fanotify \n 2025-05-29 10:34:26 -07:00
inotify treewide: const qualify ctl_tables where applicable 2025-01-28 13:48:37 +01:00
fdinfo.c fanotify: notify on mount attach and detach 2025-02-05 17:21:07 +01:00
fdinfo.h
fsnotify.c vfs-6.15-rc1.mount 2025-03-24 09:34:10 -07:00
fsnotify.h fsnotify: add mount notification infrastructure 2025-02-04 11:14:47 +01:00
group.c inotify: Fix possible deadlock in fsnotify_destroy_mark 2024-10-02 15:14:29 +02:00
Kconfig fs/notify: Remove "select SRCU" 2023-02-02 16:26:06 -08:00
Makefile
mark.c fsnotify: add mount notification infrastructure 2025-02-04 11:14:47 +01:00
notification.c