Files
linux-stable-mirror/security/inode.c
Al Viro a24ed0e8ce securityfs: don't pin dentries twice, once is enough...
[ Upstream commit 27cd1bf124 ]

incidentally, securityfs_recursive_remove() is broken without that -
it leaks dentries, since simple_recursive_removal() does not expect
anything of that sort.  It could be worked around by dput() in
remove_one() callback, but it's easier to just drop that double-get
stuff.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2025-08-20 18:30:21 +02:00

11 KiB