[OpenBIOS] r446 - openbios-devel/fs/grubfs

svn at openbios.org svn at openbios.org
Thu Feb 5 22:21:59 CET 2009


Author: laurent
Date: 2009-02-05 22:21:59 +0100 (Thu, 05 Feb 2009)
New Revision: 446

Modified:
   openbios-devel/fs/grubfs/grubfs_fs.c
Log:
Reset curfs to &dummy_fs on mount (fs_grubfs_open())

Modified: openbios-devel/fs/grubfs/grubfs_fs.c
===================================================================
--- openbios-devel/fs/grubfs/grubfs_fs.c	2009-02-05 20:19:50 UTC (rev 445)
+++ openbios-devel/fs/grubfs/grubfs_fs.c	2009-02-05 21:21:59 UTC (rev 446)
@@ -246,6 +246,8 @@
 	grubfs_t *gfs;
 	int i;
 
+	curfs=&dummy_fs;
+
 	curfs->dev_fd = fd;
 
 	for (i = 0; i < sizeof(fsys_table)/sizeof(fsys_table[0]); i++) {




More information about the OpenBIOS mailing list