提交 9c3ba769 编写于 作者: B Bartlomiej Zolnierkiewicz

ide-floppy: use alloc_disk_node()

Acked-by: NBorislav Petkov <petkovbb@gmail.com>
Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
上级 099ed4c2
......@@ -788,7 +788,7 @@ static int ide_floppy_probe(ide_drive_t *drive)
goto failed;
}
g = alloc_disk(1 << PARTN_BITS);
g = alloc_disk_node(1 << PARTN_BITS, hwif_to_node(drive->hwif));
if (!g)
goto out_free_floppy;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册