]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rpc_unlink(): use simple_recursive_removal()
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 20 Feb 2024 04:24:41 +0000 (23:24 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 3 Jul 2025 02:44:55 +0000 (22:44 -0400)
commit3829b30e771bbfff62fbe7eff555e7a6e0d4b5cd
treef53ac9041e5e5ab8cd1fbdfa877e7dbb87a86d6b
parent8e7490c40eff4fa36eac40f015c407caf5a1cc77
rpc_unlink(): use simple_recursive_removal()

note that the callback of simple_recursive_removal() is called with
the parent locked; the victim isn't locked by the caller.

Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
net/sunrpc/rpc_pipe.c