aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/block/nbd.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/block/nbd.c')
-rw-r--r--drivers/block/nbd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c
index 7f554f2ed079..618e258ca5d0 100644
--- a/drivers/block/nbd.c
+++ b/drivers/block/nbd.c
@@ -642,7 +642,6 @@ static int __init nbd_init(void)
642 printk(KERN_INFO "nbd: registered device at major %d\n", NBD_MAJOR); 642 printk(KERN_INFO "nbd: registered device at major %d\n", NBD_MAJOR);
643 dprintk(DBG_INIT, "nbd: debugflags=0x%x\n", debugflags); 643 dprintk(DBG_INIT, "nbd: debugflags=0x%x\n", debugflags);
644 644
645 devfs_mk_dir("nbd");
646 for (i = 0; i < nbds_max; i++) { 645 for (i = 0; i < nbds_max; i++) {
647 struct gendisk *disk = nbd_dev[i].disk; 646 struct gendisk *disk = nbd_dev[i].disk;
648 nbd_dev[i].file = NULL; 647 nbd_dev[i].file = NULL;