]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 3 Aug 2023 08:22:39 +0000 (10:22 +0200)
commit0c4db5a04d4ffd9f117a413b90845e9dc734a643
treecbfddd143edd59e2088dc5c138c1d7a4cbbb7f8d
parent2e321ee96f886440b5959c63df48fa3cda584388
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