lkml.org 
[lkml]   [2023]   [Aug]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH -next 29/29] md: Revert "md: add a new api prepare_suspend() in md_personality"
Date
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 --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
\
 
 \ /
  Last update: 2023-08-03 15:36    [W:0.091 / U:1.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site