diff options
author | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2016-06-28 15:42:41 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2016-06-28 11:01:27 -0600 |
commit | 9e2d23f19ef6e8a08348c8f59f79805c6cb25fe6 (patch) | |
tree | 4ff5004f68a8f612c4a84609c54949848ff2ae59 /block/blk-mq.c | |
parent | 1b57e66384e2d21150301e68078526fac5680a16 (diff) |
mg_disk: fix error path in mg_probe()
MG_DISK_MAJ is defined as 0 so dynamic block major number
allocation is used by the driver and the assigned major
number is stored in host->major. This patch fixes error
path in mg_probe() to use host->major instead of using
MG_DISK_MAJ.
Cc: unsik Kim <donari75@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'block/blk-mq.c')
0 files changed, 0 insertions, 0 deletions