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:
Laurent Vivier
2009-02-05 21:21:59 +00:00
parent 838e276b6a
commit 0b01355058

View File

@@ -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++) {