This is a note to let you know that I've just added the patch titled md/md-bitmap: remove unnecessary local variable in backlog_store() to the 5.15-stable tree which can be found at: http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary The filename of the patch is: md-md-bitmap-remove-unnecessary-local-variable-in-backlog_store.patch and it can be found in the queue-5.15 subdirectory. If you, or anyone else, feels it should not be added to the stable tree, please let <stable@xxxxxxxxxxxxxxx> know about it. >From b4d129640f194ffc4cc64c3e97f98ae944c072e8 Mon Sep 17 00:00:00 2001 From: Yu Kuai <yukuai3@xxxxxxxxxx> Date: Thu, 6 Jul 2023 16:37:26 +0800 Subject: md/md-bitmap: remove unnecessary local variable in backlog_store() From: Yu Kuai <yukuai3@xxxxxxxxxx> commit b4d129640f194ffc4cc64c3e97f98ae944c072e8 upstream. Local variable is definied first in the beginning of backlog_store(), there is no need to define it again. Fixes: 8c13ab115b57 ("md/bitmap: don't set max_write_behind if there is no write mostly device") Signed-off-by: Yu Kuai <yukuai3@xxxxxxxxxx> Link: https://lore.kernel.org/r/20230706083727.608914-2-yukuai1@xxxxxxxxxxxxxxx Signed-off-by: Song Liu <song@xxxxxxxxxx> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- drivers/md/md-bitmap.c | 2 -- 1 file changed, 2 deletions(-) --- a/drivers/md/md-bitmap.c +++ b/drivers/md/md-bitmap.c @@ -2512,8 +2512,6 @@ backlog_store(struct mddev *mddev, const mddev_destroy_serial_pool(mddev, NULL, false); } else if (backlog && !mddev->serial_info_pool) { /* serial_info_pool is needed since backlog is not zero */ - struct md_rdev *rdev; - rdev_for_each(rdev, mddev) mddev_create_serial_pool(mddev, rdev, false); } Patches currently in stable-queue which might be from yukuai3@xxxxxxxxxx are queue-5.15/md-md-bitmap-remove-unnecessary-local-variable-in-backlog_store.patch queue-5.15/md-raid1-hold-the-barrier-until-handle_read_error-fi.patch queue-5.15/md-md-bitmap-hold-reconfig_mutex-in-backlog_store.patch queue-5.15/md-raid0-fix-performance-regression-for-large-sequen.patch queue-5.15/md-raid0-account-for-split-bio-in-iostat-accounting.patch queue-5.15/md-raid0-factor-out-helper-for-mapping-and-submittin.patch queue-5.15/md-raid1-free-the-r1bio-before-waiting-for-blocked-r.patch