Right on schedule, the next kernel breaks omfs.  Here's a patch for
anyone living on the edge.  I'll upload a new archive at some point.

diff -urpN omfs-0.7.2/ChangeLog omfs-0.7.3/ChangeLog
--- omfs-0.7.2/ChangeLog        2006-11-12 11:01:49.000000000 -0500
+++ omfs-0.7.3/ChangeLog        2007-01-02 17:14:43.000000000 -0500
@@ -1,3 +1,8 @@
+2007-01-02  Bob Copeland <[EMAIL PROTECTED]>
+
+       * Use struct kmem_cache instead of kmem_cache_t
+       * Released OMFS driver version 0.7.3
+
 2006-11-12  Bob Copeland <[EMAIL PROTECTED]>
 
        * Fixed build problems related to 2.6.19 VFS changes
diff -urpN omfs-0.7.2/inode.c omfs-0.7.3/inode.c
--- omfs-0.7.2/inode.c  2006-11-12 10:48:48.000000000 -0500
+++ omfs-0.7.3/inode.c  2007-01-02 17:13:16.000000000 -0500
@@ -14,13 +14,13 @@ MODULE_AUTHOR("Bob Copeland <[EMAIL PROTECTED]
 MODULE_DESCRIPTION("OMFS (ReplayTV/Karma) Filesystem for Linux");
 MODULE_LICENSE("GPL");
 
-static kmem_cache_t *omfs_inode_cachep;
+static struct kmem_cache *omfs_inode_cachep;
 
 static struct inode *omfs_alloc_inode(struct super_block *sb)
 {
        struct omfs_inode_info *oinf;
        oinf = (struct omfs_inode_info *) kmem_cache_alloc(omfs_inode_cachep,
-                       SLAB_KERNEL);
+                       GFP_KERNEL);
        if (!oinf)
                return NULL;
        return &oinf->vfs_inode;
@@ -31,7 +31,7 @@ static void omfs_destroy_inode(struct in
        kmem_cache_free(omfs_inode_cachep, OMFS_I(inode));
 }
 
-static void init_once(void *p, kmem_cache_t *cachep, unsigned long flags)
+static void init_once(void *p, struct kmem_cache *cachep, unsigned long flags)
 {
        struct omfs_inode_info *oinf = (struct omfs_inode_info *) p;
 
-- 
Bob Copeland %% www.bobcopeland.com 

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
linux-karma-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-karma-devel

Reply via email to