aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-2.6.25/005-squashfs_fix.patch
blob: 56b7fc2c406dae588f56bb70ed0f6fca2e9c9e7b (plain)
1
2
3
4
5
6
7
8
9
10
11
pre { line-height: 125%; margin: 0; }
td.linenos pre { color: #000000; background-color: #f0f0f0; padding: 0 5px 0 5px; }
span.linenos { color: #000000; background-color: #f0f0f0; padding: 0 5px 0 5px; }
td.linenos pre.special { color: #000000; background-color: #ff
--- a/fs/squashfs/inode.c
+++ b/fs/squashfs/inode.c
@@ -33,6 +33,7 @@
 #include <linux/fs.h>
 #include <linux/smp_lock.h>
 #include <linux/slab.h>
+#include <linux/exportfs.h>
 #include <linux/squashfs_fs_sb.h>
 #include <linux/squashfs_fs_i.h>
 #include <linux/buffer_head.h>
@@ -2125,7 +2126,7 @@ static void squashfs_destroy_inode(struc
 }
 
 
-static void init_once(void * foo, struct kmem_cache * cachep, unsigned long flags)
+static void init_once(struct kmem_cache * cachep, void *foo)
 {
 	struct squashfs_inode_info *ei = foo;
 
enerics from this -- unit, or you link this unit with other files to produce an executable, -- this unit does not by itself cause the resulting executable to be -- covered by the GNU General Public License. This exception does not -- however invalidate any other reasons why the executable file might be -- covered by the GNU Public License. with Grt.Rtis; use Grt.Rtis; -- This package allow access to RTIs of some types. -- This is used to recognize some VHDL logic types. -- This is also used by grt.signals to set types of some implicit signals -- (such as 'stable or 'transation). package Grt.Rtis_Types is -- RTIs for some logic types. Std_Standard_Bit_RTI_Ptr : Ghdl_Rti_Access; Std_Standard_Boolean_RTI_Ptr : Ghdl_Rti_Access; -- std_ulogic. -- A VHDL may not contain ieee.std_logic_1164 package. So, this RTI -- must be dynamicaly searched. Ieee_Std_Logic_1164_Std_Ulogic_RTI_Ptr : Ghdl_Rti_Access := null; -- Search RTI for types. -- If a type is not found, its RTI is set to null. -- If this procedure has already been called, then this is a noop. procedure Search_Types_RTI; private -- These are set either by grt.rtis_binding or by ghdlrun. -- This is not very clean... pragma Import (C, Std_Standard_Bit_RTI_Ptr, "std__standard__bit__RTI_ptr"); pragma Import (C, Std_Standard_Boolean_RTI_Ptr, "std__standard__boolean__RTI_ptr"); end Grt.Rtis_Types;