]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
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)
committerRoxana Nicolescu <roxana.nicolescu@canonical.com>
Mon, 2 Oct 2023 15:20:51 +0000 (17:20 +0200)
commite11e3d67f22de99c562893b415bc23a34606be53
treef8a0a661b64598ce20f69c6c07bac653cfc72621
parent84afc194043a456ed4c9f404dd21944cec753a33
dm raid: clean up four equivalent goto tags in raid_ctr()

BugLink: https://bugs.launchpad.net/bugs/2037005
[ 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>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Roxana Nicolescu <roxana.nicolescu@canonical.com>
drivers/md/dm-raid.c