summaryrefslogtreecommitdiffstats
path: root/drivers/md/md.h
diff options
context:
space:
mode:
authorYu Kuai <yukuai3@huawei.com>2023-10-10 23:19:53 +0800
committerSong Liu <song@kernel.org>2023-10-10 18:49:51 -0700
commitb4128c00a653dfd08fbe3d26fcf4c8b4970a69ba (patch)
treef8a4c46419b8ced3b5d9ee967539c96717e3c15b /drivers/md/md.h
parent58226942ad3d1423785f815ede5bcc832574f2ea (diff)
downloadlinux-b4128c00a653dfd08fbe3d26fcf4c8b4970a69ba.tar.gz
linux-b4128c00a653dfd08fbe3d26fcf4c8b4970a69ba.tar.bz2
linux-b4128c00a653dfd08fbe3d26fcf4c8b4970a69ba.zip
md: cleanup mddev_create/destroy_serial_pool()
Now that except for stopping the array, all the callers already suspend the array, there is no need to suspend anymore, hence remove the second parameter. Signed-off-by: Yu Kuai <yukuai3@huawei.com> Signed-off-by: Song Liu <song@kernel.org> Link: https://lore.kernel.org/r/20231010151958.145896-15-yukuai1@huaweicloud.com
Diffstat (limited to 'drivers/md/md.h')
-rw-r--r--drivers/md/md.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/md/md.h b/drivers/md/md.h
index 5c8f3f045e78..63b4c393b1ee 100644
--- a/drivers/md/md.h
+++ b/drivers/md/md.h
@@ -817,10 +817,9 @@ extern void __mddev_resume(struct mddev *mddev);
extern void md_reload_sb(struct mddev *mddev, int raid_disk);
extern void md_update_sb(struct mddev *mddev, int force);
-extern void mddev_create_serial_pool(struct mddev *mddev, struct md_rdev *rdev,
- bool is_suspend);
-extern void mddev_destroy_serial_pool(struct mddev *mddev, struct md_rdev *rdev,
- bool is_suspend);
+extern void mddev_create_serial_pool(struct mddev *mddev, struct md_rdev *rdev);
+extern void mddev_destroy_serial_pool(struct mddev *mddev,
+ struct md_rdev *rdev);
struct md_rdev *md_find_rdev_nr_rcu(struct mddev *mddev, int nr);
struct md_rdev *md_find_rdev_rcu(struct mddev *mddev, dev_t dev);