md: Factor out is_md_suspended helper
authorXiao Ni <xni@redhat.com>
Tue, 31 Jan 2023 05:17:09 +0000 (13:17 +0800)
committerSong Liu <song@kernel.org>
Wed, 1 Feb 2023 16:32:58 +0000 (08:32 -0800)
commitd19329133d25ad3dc32f8a62635692cb2f189014
tree7bcddab105c6abfdd19916ae69a94d6f2f111a25
parent1d1f25bfda432a6b61bd0205d426226bbbd73504
md: Factor out is_md_suspended helper

This helper function will be used in next patch. It's easy for
understanding.

Signed-off-by: Xiao Ni <xni@redhat.com>
Signed-off-by: Song Liu <song@kernel.org>
drivers/md/md.c