mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Reset curfs to &dummy_fs on mount (fs_grubfs_open())
git-svn-id: svn://coreboot.org/openbios/openbios-devel@446 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -246,6 +246,8 @@ fs_grubfs_open( int fd, fs_ops_t *fs )
|
||||
grubfs_t *gfs;
|
||||
int i;
|
||||
|
||||
curfs=&dummy_fs;
|
||||
|
||||
curfs->dev_fd = fd;
|
||||
|
||||
for (i = 0; i < sizeof(fsys_table)/sizeof(fsys_table[0]); i++) {
|
||||
|
||||
Reference in New Issue
Block a user