rename target/linux/generic-2.6 to generic
[15.05/openwrt.git] / target / linux / generic / patches-2.6.25 / 005-squashfs_fix.patch
1 --- a/fs/squashfs/inode.c
2 +++ b/fs/squashfs/inode.c
3 @@ -33,6 +33,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 @@ -2125,7 +2126,7 @@ static void squashfs_destroy_inode(struc
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