diff options
author | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2005-08-28 22:42:40 +0000 |
---|---|---|
committer | Waldemar Brodkorb <mail@waldemar-brodkorb.de> | 2005-08-28 22:42:40 +0000 |
commit | 4b4239ba7ae1ef6422d3196e464ce9734f369040 (patch) | |
tree | 4517c8cb3830b9865a2efa7006fef182f66e9d16 /openwrt/target/linux/linux-2.6 | |
parent | 7bcfdf99334a5f8f97e2b7d557e381d0acc4a385 (diff) | |
download | mtk-20170518-4b4239ba7ae1ef6422d3196e464ce9734f369040.zip mtk-20170518-4b4239ba7ae1ef6422d3196e464ce9734f369040.tar.gz mtk-20170518-4b4239ba7ae1ef6422d3196e464ce9734f369040.tar.bz2 |
fix compile error on squashfs-lzma patch
SVN-Revision: 1778
Diffstat (limited to 'openwrt/target/linux/linux-2.6')
-rw-r--r-- | openwrt/target/linux/linux-2.6/patches/generic/002-squashfs_lzma.patch | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/openwrt/target/linux/linux-2.6/patches/generic/002-squashfs_lzma.patch b/openwrt/target/linux/linux-2.6/patches/generic/002-squashfs_lzma.patch index 1db27ee..be4c19b 100644 --- a/openwrt/target/linux/linux-2.6/patches/generic/002-squashfs_lzma.patch +++ b/openwrt/target/linux/linux-2.6/patches/generic/002-squashfs_lzma.patch @@ -780,7 +780,7 @@ diff -Nur linux-2.6.12.5-brcm-squashfs/fs/squashfs/Makefile linux-2.6.12.5-brcm- +squashfs-objs := inode.o LzmaDecode.o diff -Nur linux-2.6.12.5-brcm-squashfs/fs/squashfs/inode.c linux-2.6.12.5-brcm-squashfs-lzma/fs/squashfs/inode.c --- linux-2.6.12.5-brcm-squashfs/fs/squashfs/inode.c 2005-08-28 23:44:05.045246000 +0200 -+++ linux-2.6.12.5-brcm-squashfs-lzma/fs/squashfs/inode.c 2005-08-29 00:05:51.534629648 +0200 ++++ linux-2.6.12.5-brcm-squashfs-lzma/fs/squashfs/inode.c 2005-08-29 00:19:48.473476904 +0200 @@ -3,6 +3,9 @@ * * Copyright (c) 2002, 2003, 2004, 2005 Phillip Lougher <phillip@lougher.demon.co.uk> @@ -859,7 +859,7 @@ diff -Nur linux-2.6.12.5-brcm-squashfs/fs/squashfs/inode.c linux-2.6.12.5-brcm-s up(&read_data_mutex); } -@@ -1725,12 +1759,13 @@ +@@ -1725,14 +1759,17 @@ printk(KERN_INFO "Squashfs 2.2 (released 2005/07/03) (C) 2002-2005 Phillip Lougher\n"); @@ -872,9 +872,13 @@ diff -Nur linux-2.6.12.5-brcm-squashfs/fs/squashfs/inode.c linux-2.6.12.5-brcm-s - +#endif if((err = register_filesystem(&squashfs_fs_type))) { ++#ifndef SQUASHFS_LZMA vfree(stream.workspace); ++#endif destroy_inodecache(); -@@ -1742,7 +1777,9 @@ + } + +@@ -1742,7 +1779,9 @@ static void __exit exit_squashfs_fs(void) { |