fix squashfs on 2.6.24
[openwrt/svn-archive/archive.git] / target / linux / generic-2.6 / patches-2.6.24 / 005-squashfs_fix.patch
1 --- linux-2.6.24/fs/squashfs/inode.c 2008-01-28 23:38:13.000000000 +0100
2 +++ linux-2.6.24-owrt/fs/squashfs/inode.c 2008-01-28 23:43:18.000000000 +0100
3 @@ -29,6 +29,7 @@
4 #include <linux/fs.h>
5 #include <linux/smp_lock.h>
6 #include <linux/slab.h>
7 +#include <linux/exportfs.h>
8 #include <linux/squashfs_fs_sb.h>
9 #include <linux/squashfs_fs_i.h>
10 #include <linux/buffer_head.h>
11 @@ -2089,7 +2090,7 @@
12 }
13
14
15 -static void init_once(void * foo, struct kmem_cache * cachep, unsigned long flags)
16 +static void init_once(struct kmem_cache * cachep, void *foo)
17 {
18 struct squashfs_inode_info *ei = foo;
19