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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux