You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
[PATCH] devfs: Remove the gendisk devfs_name field as it's no longer needed
And remove the now unneeded number field. Also fixes all drivers that set these fields. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
@@ -1192,7 +1192,6 @@ static int __init mm_init(void)
|
||||
for (i = 0; i < num_cards; i++) {
|
||||
struct gendisk *disk = mm_gendisk[i];
|
||||
sprintf(disk->disk_name, "umem%c", 'a'+i);
|
||||
sprintf(disk->devfs_name, "umem/card%d", i);
|
||||
spin_lock_init(&cards[i].lock);
|
||||
disk->major = major_nr;
|
||||
disk->first_minor = i << MM_SHIFT;
|
||||
|
||||
Reference in New Issue
Block a user