Skip to contentSkip to conversation

Patch "dm: remove unnecessary assignment statement in alloc_dev()" has been added to the 6.0-stable tree

dm-devel Sasha Levin 1 participant 1 message Oct 27, 2022 Device mapper

lore
Share & tools
lore

Sasha Levin

author Applied
#0 lore raw

This is a note to let you know that I've just added the patch titled

dm: remove unnecessary assignment statement in alloc_dev()

to the 6.0-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:
dm-remove-unnecessary-assignment-statement-in-alloc_.patch
and it can be found in the queue-6.0 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree, please let <[email protected]> know about it.

commit 2394d36dd4d89dff7510443876e611eb9b97a2bb

Author: Genjian Zhang <[email protected]>
Date:   Thu Sep 29 16:20:36 2022 +0800

dm: remove unnecessary assignment statement in alloc_dev()

[ Upstream commit 99f4f5bcb975527508eb7a5e3e34bdb91d576746 ]

Fixes 74fe6ba923949 ("dm: convert to blk_alloc_disk/blk_cleanup_disk")
drivers/md/dm.c +0 -1
index 60549b65c799..b4a2cb5333fc 100644
@@ -2065,7 +2065,6 @@ static struct mapped_device *alloc_dev(int minor)
 	md->disk->minors = 1;
 	md->disk->flags |= GENHD_FL_NO_PART;
 	md->disk->fops = &dm_blk_dops;
-	md->disk->queue = md->queue;
 	md->disk->private_data = md;
 	sprintf(md->disk->disk_name, "dm-%d", minor);
 

--
dm-devel mailing list
[email protected]
https://listman.redhat.com/mailman/listinfo/dm-devel