hfs.h fix for 2.1.78

James Mastros (root@jennifer-unix.dyn.ml.org)
Tue, 6 Jan 1998 01:31:07 -0500 (EST)


This fix is required to get the kernel to compile with the hfs fs enabled
(even as a module). This isn't really the proper solution, but it shouldn't
have any real consequences (other then fixing a deference of an incomplete
structure). The split between the various headers for hfs should probably
be reconsidered a bit.

-=- James Mastros

--- linux/include/linux/hfs_fs.h~ Tue Jan 6 01:13:05 1998
+++ kinux/include/linux/hfs_fs.h Tue Jan 6 01:24:19 1998
@@ -22,6 +22,11 @@

#include <linux/hfs_sysdep.h>

+struct hfs_name {
+ hfs_byte_t Len;
+ hfs_byte_t Name[31];
+};
+
/* magic numbers for Apple Double header files */
#define HFS_DBL_MAGIC 0x00051607
#define HFS_SNGL_MAGIC 0x00051600

-- 
  Agent K: A person is smart; people are dumb, panicky animals and you know
     it. Fifteen hundred years ago, everybody knew that the Earth was the
     center of the Universe.  Five hundred years ago, everybody knew that
     the Earth was flat.  Fifteen minutes ago, you knew that humans were
     alone in the Universe.  Just think what you'll know tomorrow.

-=- Men In Black (1997, Paramount)