summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-04-15 16:46:24 +0000
committeracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>2010-04-15 16:46:24 +0000
commit6097fc85f4ac6ca8aa941a740cad5e7e8ef433d3 (patch)
tree4b09a7702ab63c35680c5198d72cfa6bd13df39f
parentb4f7ed76fd7a1290185f974105ae68da8d7b57b8 (diff)
2.6.34: fix kzalloc error
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20881 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r--target/linux/generic-2.6/patches-2.6.34/006-squashfs_add_lzma.patch3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/generic-2.6/patches-2.6.34/006-squashfs_add_lzma.patch b/target/linux/generic-2.6/patches-2.6.34/006-squashfs_add_lzma.patch
index 9fd57970f..29d507eb4 100644
--- a/target/linux/generic-2.6/patches-2.6.34/006-squashfs_add_lzma.patch
+++ b/target/linux/generic-2.6/patches-2.6.34/006-squashfs_add_lzma.patch
@@ -53,7 +53,7 @@ Signed-off-by: Phillip Lougher <phillip@lougher.demon.co.uk>
};
--- /dev/null
+++ b/fs/squashfs/lzma_wrapper.c
-@@ -0,0 +1,151 @@
+@@ -0,0 +1,152 @@
+/*
+ * 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/vmalloc.h>
+#include <linux/decompress/unlzma.h>
++#include <linux/slab.h>
+
+#include "squashfs_fs.h"
+#include "squashfs_fs_sb.h"