diff options
author | Alexandros C. Couloumbis <alex@ozo.com> | 2010-09-13 07:21:38 +0000 |
---|---|---|
committer | Alexandros C. Couloumbis <alex@ozo.com> | 2010-09-13 07:21:38 +0000 |
commit | 69a3f089a0ef861f2f705e0b69cc124e0254a48b (patch) | |
tree | a11a2d7ac11f27fb3715c2033c81eeb4d0626ad7 /target/linux/generic/patches-2.6.36/006-squashfs_add_lzma.patch | |
parent | 792c70a897f21e2b4013b1ef79d9107423e1103d (diff) | |
download | master-187ad058-69a3f089a0ef861f2f705e0b69cc124e0254a48b.tar.gz master-187ad058-69a3f089a0ef861f2f705e0b69cc124e0254a48b.tar.bz2 master-187ad058-69a3f089a0ef861f2f705e0b69cc124e0254a48b.zip |
linux/generic: semi-revert squashfs 2.6.36 changes until lzma code gets ready for mainlin inclusion
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23045 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/patches-2.6.36/006-squashfs_add_lzma.patch')
-rw-r--r-- | target/linux/generic/patches-2.6.36/006-squashfs_add_lzma.patch | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/target/linux/generic/patches-2.6.36/006-squashfs_add_lzma.patch b/target/linux/generic/patches-2.6.36/006-squashfs_add_lzma.patch index d1b62e5490..ff715788e6 100644 --- a/target/linux/generic/patches-2.6.36/006-squashfs_add_lzma.patch +++ b/target/linux/generic/patches-2.6.36/006-squashfs_add_lzma.patch @@ -32,26 +32,27 @@ Signed-off-by: Phillip Lougher <phillip@lougher.demon.co.uk> bool "Additional option for memory-constrained systems" --- a/fs/squashfs/Makefile +++ b/fs/squashfs/Makefile -@@ -5,5 +5,4 @@ +@@ -5,5 +5,5 @@ obj-$(CONFIG_SQUASHFS) += squashfs.o squashfs-y += block.o cache.o dir.o export.o file.o fragment.o id.o inode.o squashfs-y += namei.o super.o symlink.o zlib_wrapper.o decompressor.o --squashfs-$(CONFIG_SQUASHFS_XATTR) += xattr.o xattr_id.o --squashfs-$(CONFIG_SQUASHFS_LZO) += lzo_wrapper.o +-squashfs-$(CONFIG_SQUASHFS_XATTRS) += xattr.o xattr_id.o +squashfs-$(CONFIG_SQUASHFS_LZMA) += lzma_wrapper.o + --- a/fs/squashfs/decompressor.c +++ b/fs/squashfs/decompressor.c -@@ -53,8 +53,8 @@ static const struct squashfs_decompresso +@@ -50,7 +50,11 @@ static const struct squashfs_decompresso + static const struct squashfs_decompressor *decompressor[] = { &squashfs_zlib_comp_ops, - &squashfs_lzma_unsupported_comp_ops, --#ifdef CONFIG_SQUASHFS_LZO -- &squashfs_lzo_comp_ops, +#ifdef CONFIG_SQUASHFS_LZMA + &squashfs_lzma_comp_ops, - #else ++#else + &squashfs_lzma_unsupported_comp_ops, ++#endif &squashfs_lzo_unsupported_comp_ops, - #endif + &squashfs_unknown_comp_ops + }; --- /dev/null +++ b/fs/squashfs/lzma_wrapper.c @@ -0,0 +1,152 @@ @@ -209,11 +210,10 @@ Signed-off-by: Phillip Lougher <phillip@lougher.demon.co.uk> + --- a/fs/squashfs/squashfs.h +++ b/fs/squashfs/squashfs.h -@@ -105,5 +105,5 @@ extern const struct xattr_handler *squas +@@ -104,3 +104,6 @@ extern const struct xattr_handler *squas + /* zlib_wrapper.c */ extern const struct squashfs_decompressor squashfs_zlib_comp_ops; - --/* lzo_wrapper.c */ --extern const struct squashfs_decompressor squashfs_lzo_comp_ops; -+/* lzma_wrapper.c */ ++ ++/* lzma wrapper.c */ +extern const struct squashfs_decompressor squashfs_lzma_comp_ops; |