Commit b2472345 authored by Yu Kuai's avatar Yu Kuai Committed by sanglipeng
Browse files

dm raid: clean up four equivalent goto tags in raid_ctr()

stable inclusion
from stable-v5.10.190
commit d6a1cf4ee5eba1f0b6640ddaf5afe04ee47c949c
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I928UI

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=d6a1cf4ee5eba1f0b6640ddaf5afe04ee47c949c



--------------------------------

[ Upstream commit e74c874e ]

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: default avatarYu Kuai <yukuai3@huawei.com>
Signed-off-by: default avatarMike Snitzer <snitzer@kernel.org>
Stable-dep-of: 7d5fff89 ("dm raid: protect md_stop() with 'reconfig_mutex'")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent cb737f8a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment