Use a net fs struct to handle open, reand and close in file.

This commit is contained in:
Manoel R. Abranches 2011-05-27 00:22:35 -03:00
parent f42313bdb0
commit 7dd64f1236
5 changed files with 27 additions and 41 deletions

View file

@ -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;