[PATCH -next 29/29] md: Revert "md: add a new api prepare_suspend() in md_personality"
From: Yu Kuai
Date: Thu Aug 03 2023 - 09:35:58 EST
From: Yu Kuai <yukuai3@xxxxxxxxxx>
This reverts commit 3e00777d51572bdd75cef29c9c31106b52d7cc8f.
Because this new api is not used anymore.
Signed-off-by: Yu Kuai <yukuai3@xxxxxxxxxx>
---
drivers/md/md.h | 1 -
1 file changed, 1 deletion(-)
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
--
2.39.2