diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2025-05-08 23:38:01 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-08-20 18:30:21 +0200 |
commit | a24ed0e8ce7d6213c9a73f86e1f45b41693160df (patch) | |
tree | 7c336230fd61c4e4f0ab51ac071db4f3b49da0eb /fs/tracefs/inode.c | |
parent | 136994f74e8f234d4f9c70c0d810bdeae53fc722 (diff) |
securityfs: don't pin dentries twice, once is enough...
[ Upstream commit 27cd1bf1240d482e4f02ca4f9812e748f3106e4f ]
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>
Diffstat (limited to 'fs/tracefs/inode.c')
0 files changed, 0 insertions, 0 deletions