HFS_FS and modules : 2.1.78 [patch]

teunis (teunis@mauve.computersupportcentre.com)
Mon, 12 Jan 1998 20:00:51 -0700 (MST)


Interesting - so someone slipped HFS support into linux while I wasn't
looking *grin*.... (good : I've been hoping for this since 1.3.26 at
least :)

Anyways, here's a patch so it can compile as a module... *grin*...
(I don't know if this is correct - but it works for me - anyone else want
to look? :)
[Actually - perhaps the #include "hfs/hfs.h" isn't necessary. Not sure]

G'day, eh? :)
- Teunis

--- fs/filesystems.c.orig Mon Jan 12 19:48:36 1998
+++ fs/filesystems.c Mon Jan 12 19:48:56 1998
@@ -25,7 +25,10 @@
#include <linux/romfs_fs.h>
#include <linux/auto_fs.h>
#include <linux/ntfs_fs.h>
+#ifdef CONFIG_HFS_FS
+#include "hfs/hfs.h"
#include <linux/hfs_fs.h>
+#endif
#include <linux/major.h>
#include <linux/smp.h>
#include <linux/smp_lock.h>