md/bitmap: use mddev_suspend/resume instead of ->quiesce()
authorJack Wang <jinpu.wang@profitbricks.com>
Mon, 8 Oct 2018 15:24:03 +0000 (17:24 +0200)
committerShaohua Li <shli@fb.com>
Wed, 10 Oct 2018 18:03:34 +0000 (11:03 -0700)
commitf8f83d8ffeb47041ff0937ecac6d10bcb388cd9f
tree788efa9231794db0718915c578fa63141b182513
parent116d99adf59314924adae0cb691e4d289b5f2407
md/bitmap: use mddev_suspend/resume instead of ->quiesce()

After 9e1cc0a54556 ("md: use mddev_suspend/resume instead of ->quiesce()")
We still have similar left in bitmap functions.

Replace quiesce() with mddev_suspend/resume.

Also move md_bitmap_create out of mddev_suspend. and move mddev_resume
after md_bitmap_destroy. as we did in set_bitmap_file.

Signed-off-by: Jack Wang <jinpu.wang@profitbricks.com>
Reviewed-by: Gioh Kim <gi-oh.kim@profitbricks.com>
Signed-off-by: Shaohua Li <shli@fb.com>
drivers/md/md-bitmap.c