]> git.baikalelectronics.ru Git - kernel.git/commit
md: Factor out is_md_suspended helper
authorXiao Ni <xni@redhat.com>
Tue, 31 Jan 2023 05:17:09 +0000 (13:17 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Sep 2023 07:42:41 +0000 (09:42 +0200)
commit3db392257008860fd6f9c22e083b2b789eec3f0c
treeef659780155459d1a44cd23bf4935a556c124a73
parent8dcc23191a6d2181855422741d73a96d91526c87
md: Factor out is_md_suspended helper

[ Upstream commit d19329133d25ad3dc32f8a62635692cb2f189014 ]

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>
Stable-dep-of: e24ed04389f9 ("md: restore 'noio_flag' for the last mddev_resume()")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/md/md.c