X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=target%2Flinux%2Fgeneric-2.6%2Fpatches-2.6.31%2F005-squashfs_extra_parameter.patch;fp=target%2Flinux%2Fgeneric-2.6%2Fpatches-2.6.31%2F005-squashfs_extra_parameter.patch;h=0000000000000000000000000000000000000000;hp=09916813462c45986346ed1e18a3d94b79b84cc2;hb=c6ab1b23be796c1bbe1915ac566fe3377ae8109f;hpb=01131f5dd9f61be5a5c857152ca079f316fd7538 diff --git a/target/linux/generic-2.6/patches-2.6.31/005-squashfs_extra_parameter.patch b/target/linux/generic-2.6/patches-2.6.31/005-squashfs_extra_parameter.patch deleted file mode 100644 index 0991681346..0000000000 --- a/target/linux/generic-2.6/patches-2.6.31/005-squashfs_extra_parameter.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 5f393ede3ddb5dd4cc2a9f243182fac45f1ce10b Mon Sep 17 00:00:00 2001 -From: Phillip Lougher -Date: Wed, 14 Oct 2009 04:07:54 +0100 -Subject: [PATCH] Squashfs: add an extra parameter to the decompressor init function - -Signed-off-by: Phillip Lougher ---- - fs/squashfs/decompressor.h | 4 ++-- - fs/squashfs/zlib_wrapper.c | 2 +- - 2 files changed, 3 insertions(+), 3 deletions(-) - ---- a/fs/squashfs/decompressor.h -+++ b/fs/squashfs/decompressor.h -@@ -24,7 +24,7 @@ - */ - - struct squashfs_decompressor { -- void *(*init)(void); -+ void *(*init)(struct squashfs_sb_info *); - void (*free)(void *); - int (*decompress)(struct squashfs_sb_info *, void **, - struct buffer_head **, int, int, int, int, int); -@@ -35,7 +35,7 @@ struct squashfs_decompressor { - - static inline void *squashfs_decompressor_init(struct squashfs_sb_info *msblk) - { -- return msblk->decompressor->init(); -+ return msblk->decompressor->init(msblk); - } - - static inline void squashfs_decompressor_free(struct squashfs_sb_info *msblk, ---- a/fs/squashfs/zlib_wrapper.c -+++ b/fs/squashfs/zlib_wrapper.c -@@ -32,7 +32,7 @@ - #include "squashfs.h" - #include "decompressor.h" - --static void *zlib_init(void) -+static void *zlib_init(struct squashfs_sb_info *dummy) - { - z_stream *stream = kmalloc(sizeof(z_stream), GFP_KERNEL); - if (stream == NULL)