Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9c3ba769 authored by Bartlomiej Zolnierkiewicz's avatar Bartlomiej Zolnierkiewicz
Browse files

ide-floppy: use alloc_disk_node()

parent 099ed4c2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;