diff mbox series

[-next,29/29] md: Revert "md: add a new api prepare_suspend() in md_personality"

Message ID 20230803132930.2742286-30-yukuai1@huaweicloud.com (mailing list archive)
State New, archived
Headers show
Series md: synchronize io with array reconfiguration | expand

Commit Message

Yu Kuai Aug. 3, 2023, 1:29 p.m. UTC
From: Yu Kuai <yukuai3@huawei.com>

This reverts commit 3e00777d51572bdd75cef29c9c31106b52d7cc8f.

Because this new api is not used anymore.

Signed-off-by: Yu Kuai <yukuai3@huawei.com>
---
 drivers/md/md.h | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/md/md.h b/drivers/md/md.h
index 492c5a130da3..dbe7f4d0b7d6 100644
--- a/drivers/md/md.h
+++ b/drivers/md/md.h
@@ -633,7 +633,6 @@  struct md_personality
 	int (*start_reshape) (struct mddev *mddev);
 	void (*finish_reshape) (struct mddev *mddev);
 	void (*update_reshape_pos) (struct mddev *mddev);
-	void (*prepare_suspend) (struct mddev *mddev);
 	/* quiesce suspends or resumes internal processing.
 	 * 1 - stop new actions and wait for action io to complete
 	 * 0 - return to normal behaviour