[kernel] refresh generic 2.6.25 patches
[15.05/openwrt.git] / target / linux / generic-2.6 / patches-2.6.25 / 005-squashfs_fix.patch
1 Index: linux-2.6.25.4/fs/squashfs/inode.c
2 ===================================================================
3 --- linux-2.6.25.4.orig/fs/squashfs/inode.c
4 +++ linux-2.6.25.4/fs/squashfs/inode.c
5 @@ -33,6 +33,7 @@
6  #include <linux/fs.h>
7  #include <linux/smp_lock.h>
8  #include <linux/slab.h>
9 +#include <linux/exportfs.h>
10  #include <linux/squashfs_fs_sb.h>
11  #include <linux/squashfs_fs_i.h>
12  #include <linux/buffer_head.h>
13 @@ -2125,7 +2126,7 @@ static void squashfs_destroy_inode(struc
14  }
15  
16  
17 -static void init_once(void * foo, struct kmem_cache * cachep, unsigned long flags)
18 +static void init_once(struct kmem_cache * cachep, void *foo)
19  {
20         struct squashfs_inode_info *ei = foo;
21