OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc3efed
)
dm: remove unnecessary assignment statement in alloc_dev()
author
Genjian Zhang
<zhanggenjian@kylinos.cn>
Thu, 29 Sep 2022 08:20:36 +0000
(16:20 +0800)
committer
Mike Snitzer
<snitzer@kernel.org>
Tue, 18 Oct 2022 21:17:48 +0000
(17:17 -0400)
Fixes:
74fe6ba923949
("dm: convert to blk_alloc_disk/blk_cleanup_disk")
Signed-off-by: Genjian Zhang <zhanggenjian@kylinos.cn>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
drivers/md/dm.c
patch
|
blob
|
history
diff --git
a/drivers/md/dm.c
b/drivers/md/dm.c
index
7c35dea
..
95a1ee3
100644
(file)
--- a/
drivers/md/dm.c
+++ b/
drivers/md/dm.c
@@
-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);