md: use MD_RESYNC_* whenever possible
authorHou Tao <houtao1@huawei.com>
Wed, 1 Feb 2023 07:59:20 +0000 (15:59 +0800)
committerSong Liu <song@kernel.org>
Wed, 1 Feb 2023 17:41:53 +0000 (09:41 -0800)
commited821cf84e7b969fb5b63598c89d3428a30d8d31
tree25e5eb47f0dcf7e518ea178cce8c989b12dcd9d4
parent07dbb13542cc022677b64acc6e0bd0d8a2cbf4dc
md: use MD_RESYNC_* whenever possible

Just replace magic numbers by MD_RESYNC_* enumerations.

Signed-off-by: Hou Tao <houtao1@huawei.com>
Reviewed-by: Logan Gunthorpe <logang@deltatee.com>
Signed-off-by: Song Liu <song@kernel.org>
drivers/md/md.c