md: changed the switch of RAID_VERSION to if
authorLi Nan <linan122@huawei.com>
Mon, 26 Feb 2024 03:14:37 +0000 (11:14 +0800)
committerSong Liu <song@kernel.org>
Mon, 26 Feb 2024 18:22:22 +0000 (10:22 -0800)
commit4e26593944e02446a75d911e11b759a9320c8273
tree571f7f0ec516eee6e18988212ba381fb4fec8441
parent2fe4ffc3ecdcb69d0e5aded5abf5367e3519bd04
md: changed the switch of RAID_VERSION to if

There is only one case of this 'switch'. Change it to 'if'.

Signed-off-by: Li Nan <linan122@huawei.com>
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20240226031444.3606764-3-linan666@huaweicloud.com
drivers/md/md.c