]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
rpc_pipe: clean failure exits in fill_super
authorAl Viro <viro@zeniv.linux.org.uk>
Tue, 20 Feb 2024 04:09:20 +0000 (23:09 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 3 Jul 2025 02:44:54 +0000 (22:44 -0400)
commit4b2f61af8a8f1e0f54d6105e887f8da5ad1d3ddc
tree602b839e692c70953788f714eff153646b3ce920
parent59200f45267481582f4e42334a510f01d0b89449
rpc_pipe: clean failure exits in fill_super

->kill_sb() will be called immediately after a failure return
anyway, so we don't need to bother with notifier chain and
rpc_gssd_dummy_depopulate().  What's more, rpc_gssd_dummy_populate()
failure exits do not need to bother with __rpc_depopulate() -
anything added to the tree will be taken out by ->kill_sb().

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