]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/blobdiff - drivers/md/raid5.c
MD: change the parameter of md thread
[mirror_ubuntu-jammy-kernel.git] / drivers / md / raid5.c
index adda94df5eb2352775e64fb7fae4e88c6e89a98b..81c02d63440b647e9fc6145206f0d53b6efc90d9 100644 (file)
@@ -4625,8 +4625,9 @@ static int handle_active_stripes(struct r5conf *conf)
  * During the scan, completed stripes are saved for us by the interrupt
  * handler, so that they will not have to wait for our next wakeup.
  */
-static void raid5d(struct mddev *mddev)
+static void raid5d(struct md_thread *thread)
 {
+       struct mddev *mddev = thread->mddev;
        struct r5conf *conf = mddev->private;
        int handled;
        struct blk_plug plug;