dm raid: clean up four equivalent goto tags in raid_ctr()
authorYu Kuai <yukuai3@huawei.com>
Sat, 8 Jul 2023 09:21:52 +0000 (17:21 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Aug 2023 08:24:05 +0000 (10:24 +0200)
commite08db3f85df2a5b31361f253b75074ef334448e9
tree17beb1d48779c6f55284dc0948c75d837e2fd3eb
parentd43c7edfeb941e5629f9646810ea07829f05eb1d
dm raid: clean up four equivalent goto tags in raid_ctr()

[ Upstream commit e74c874eabe2e9173a8fbdad616cd89c70eb8ffd ]

There are four equivalent goto tags in raid_ctr(), clean them up to
use just one.

There is no functional change and this is preparation to fix
raid_ctr()'s unprotected md_stop().

Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Stable-dep-of: 7d5fff8982a2 ("dm raid: protect md_stop() with 'reconfig_mutex'")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/md/dm-raid.c