diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/block/brd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/brd.c b/drivers/block/brd.c index a196ef7f147f..680cdfc00b90 100644 --- a/drivers/block/brd.c +++ b/drivers/block/brd.c | |||
@@ -447,6 +447,7 @@ static struct brd_device *brd_alloc(int i) | |||
447 | disk->fops = &brd_fops; | 447 | disk->fops = &brd_fops; |
448 | disk->private_data = brd; | 448 | disk->private_data = brd; |
449 | disk->queue = brd->brd_queue; | 449 | disk->queue = brd->brd_queue; |
450 | disk->flags |= GENHD_FL_SUPPRESS_PARTITION_INFO; | ||
450 | sprintf(disk->disk_name, "ram%d", i); | 451 | sprintf(disk->disk_name, "ram%d", i); |
451 | set_capacity(disk, rd_size * 2); | 452 | set_capacity(disk, rd_size * 2); |
452 | 453 | ||