Use a net fs struct to handle open, reand and close in file.
This commit is contained in:
parent
f42313bdb0
commit
7dd64f1236
5 changed files with 27 additions and 41 deletions
|
@ -94,8 +94,8 @@ grub_fs_probe (grub_device_t device)
|
|||
count--;
|
||||
}
|
||||
}
|
||||
else if (device->net)
|
||||
return NULL;
|
||||
else if (device->net && device->net->fs)
|
||||
return device->net->fs;
|
||||
|
||||
grub_error (GRUB_ERR_UNKNOWN_FS, "unknown filesystem");
|
||||
return 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue