Warning!

Notice: the grml team is migrating from Mercurial to Git.
Please visit git.grml.org instead!

Add 4301_squashfs-fix-for-2.6.23.patch to fix compile issue with 2.6.23
authorMichael Prokop <mika@grml.org>
Sun Sep 23 10:17:43 2007 +0200 (14 months ago)
changeset 488532c807ea38
manifest8532c807ea38
parent 47558de68d57fd
child 49bd14c8998f0a
Add 4301_squashfs-fix-for-2.6.23.patch to fix compile issue with 2.6.23
2.6.23/4301_squashfs-fix-for-2.6.23.patch
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/2.6.23/4301_squashfs-fix-for-2.6.23.patch Sun Sep 23 10:17:43 2007 +0200
@@ -0,0 +1,19 @@
+--- fs/squashfs/inode.c.orig 2007-09-23 09:31:03.567520222 +0200
++++ fs/squashfs/inode.c 2007-09-23 09:32:27.061781932 +0200
+@@ -32,6 +32,7 @@
+ #include <linux/vmalloc.h>
+ #include <linux/smp_lock.h>
+
++#include <linux/exportfs.h>
+ #include "squashfs.h"
+
+ static void vfs_read_inode(struct inode *i);
+@@ -2307,7 +2308,7 @@
+ squashfs_inode_cachep = kmem_cache_create("squashfs_inode_cache",
+ sizeof(struct squashfs_inode_info),
+ 0, SLAB_HWCACHE_ALIGN|SLAB_RECLAIM_ACCOUNT,
+- init_once, NULL);
++ init_once);
+ if (squashfs_inode_cachep == NULL)
+ return -ENOMEM;
+ return 0;