[OpenBIOS] r311 - openbios-devel/fs/grubfs
svn at openbios.org
svn at openbios.org
Tue Dec 23 11:14:48 CET 2008
Author: blueswirl
Date: 2008-12-23 11:14:48 +0100 (Tue, 23 Dec 2008)
New Revision: 311
Modified:
openbios-devel/fs/grubfs/filesys.h
openbios-devel/fs/grubfs/grubfs_fs.c
Log:
Change part_length to a define
Modified: openbios-devel/fs/grubfs/filesys.h
===================================================================
--- openbios-devel/fs/grubfs/filesys.h 2008-12-23 10:12:09 UTC (rev 310)
+++ openbios-devel/fs/grubfs/filesys.h 2008-12-23 10:14:48 UTC (rev 311)
@@ -121,8 +121,8 @@
#define current_slice 0
#define current_partition 0
-extern unsigned long part_start;
-extern unsigned long part_length;
+/* we fake this for now, assuming that the filesystem is not corrupt */
+#define part_length -1
extern int filepos;
extern int filemax;
extern int fsmax;
Modified: openbios-devel/fs/grubfs/grubfs_fs.c
===================================================================
--- openbios-devel/fs/grubfs/grubfs_fs.c 2008-12-23 10:12:09 UTC (rev 310)
+++ openbios-devel/fs/grubfs/grubfs_fs.c 2008-12-23 10:14:48 UTC (rev 311)
@@ -31,9 +31,6 @@
grub_error_t errnum;
char FSYS_BUF[FSYS_BUFLEN];
-/* we fake this for now, assuming that the filesystem is not corrupt */
-unsigned long part_length=(unsigned long)-1;
-
/* these are not even used by us, instead
* the grub fs drivers want them:
*/
More information about the OpenBIOS
mailing list