2.6.34: fix kzalloc error
authorAlexandros C. Couloumbis <alex@ozo.com>
Thu, 15 Apr 2010 16:46:24 +0000 (16:46 +0000)
committerAlexandros C. Couloumbis <alex@ozo.com>
Thu, 15 Apr 2010 16:46:24 +0000 (16:46 +0000)
SVN-Revision: 20881

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

index 9fd57970f255db214321b01b1533128d2db2785a..29d507eb4adb1f312116f7ef955307c95a69a352 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"