2.6.34: fix kzalloc error

SVN-Revision: 20881
This commit is contained in:
Alexandros C. Couloumbis 2010-04-15 16:46:24 +00:00
parent e5e0966186
commit af45b63a85

View file

@ -53,7 +53,7 @@ Signed-off-by: Phillip Lougher <phillip@lougher.demon.co.uk>
}; };
--- /dev/null --- /dev/null
+++ b/fs/squashfs/lzma_wrapper.c +++ b/fs/squashfs/lzma_wrapper.c
@@ -0,0 +1,151 @@ @@ -0,0 +1,152 @@
+/* +/*
+ * Squashfs - a compressed read only filesystem for Linux + * Squashfs - a compressed read only filesystem for Linux
+ * + *
@ -82,6 +82,7 @@ Signed-off-by: Phillip Lougher <phillip@lougher.demon.co.uk>
+#include <linux/mutex.h> +#include <linux/mutex.h>
+#include <linux/vmalloc.h> +#include <linux/vmalloc.h>
+#include <linux/decompress/unlzma.h> +#include <linux/decompress/unlzma.h>
+#include <linux/slab.h>
+ +
+#include "squashfs_fs.h" +#include "squashfs_fs.h"
+#include "squashfs_fs_sb.h" +#include "squashfs_fs_sb.h"