diff options
Diffstat (limited to 'drivers/block/nbd.c')
-rw-r--r-- | drivers/block/nbd.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index b164ee0ac79f..39662f0c9cce 100644 --- a/drivers/block/nbd.c +++ b/drivers/block/nbd.c | |||
@@ -657,7 +657,6 @@ static int __init nbd_init(void) | |||
657 | disk->private_data = &nbd_dev[i]; | 657 | disk->private_data = &nbd_dev[i]; |
658 | disk->flags |= GENHD_FL_SUPPRESS_PARTITION_INFO; | 658 | disk->flags |= GENHD_FL_SUPPRESS_PARTITION_INFO; |
659 | sprintf(disk->disk_name, "nbd%d", i); | 659 | sprintf(disk->disk_name, "nbd%d", i); |
660 | sprintf(disk->devfs_name, "nbd/%d", i); | ||
661 | set_capacity(disk, 0x7ffffc00ULL << 1); /* 2 TB */ | 660 | set_capacity(disk, 0x7ffffc00ULL << 1); /* 2 TB */ |
662 | add_disk(disk); | 661 | add_disk(disk); |
663 | } | 662 | } |