2.6.34: fix kzalloc error
authoracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 15 Apr 2010 16:46:24 +0000 (16:46 +0000)
committeracoul <acoul@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 15 Apr 2010 16:46:24 +0000 (16:46 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20881 3c298f89-4303-0410-b956-a3cf2f4a3e73

target/linux/generic-2.6/patches-2.6.34/006-squashfs_add_lzma.patch

index 9fd5797..29d507e 100644 (file)
@@ -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"