summaryrefslogtreecommitdiffstats
path: root/package/e2fsprogs/patches/100-upstream_fix.patch
diff options
context:
space:
mode:
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-02-14 19:07:07 +0000
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>2012-02-14 19:07:07 +0000
commitd4076adb6f40d8fae7d139c6cdf73bd26ee9ce11 (patch)
tree9556d5184bab4b3ebec605c3c98a195b66e6a4de /package/e2fsprogs/patches/100-upstream_fix.patch
parentf1215ac7aa9d9e148e17787e8820c34c0951c558 (diff)
[OpenWrt-Devel] update e2fsprogs
Update e2fsprogs to the last upstream version 1.42. blkid works fine without 100_add_missing_libpthread_for_blkid.patch. Signed-off-by: Luka Perkov <openwrt@lukaperkov.net> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@30535 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/e2fsprogs/patches/100-upstream_fix.patch')
-rw-r--r--package/e2fsprogs/patches/100-upstream_fix.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/package/e2fsprogs/patches/100-upstream_fix.patch b/package/e2fsprogs/patches/100-upstream_fix.patch
new file mode 100644
index 000000000..48555a5e4
--- /dev/null
+++ b/package/e2fsprogs/patches/100-upstream_fix.patch
@@ -0,0 +1,22 @@
+--- a/e2fsck/pass1.c
++++ b/e2fsck/pass1.c
+@@ -545,7 +545,7 @@ void e2fsck_pass1(e2fsck_t ctx)
+ int i;
+ __u64 max_sizes;
+ ext2_filsys fs = ctx->fs;
+- ext2_ino_t ino;
++ ext2_ino_t ino = 0;
+ struct ext2_inode *inode;
+ ext2_inode_scan scan;
+ char *block_buf;
+--- a/e2fsck/pass1b.c
++++ b/e2fsck/pass1b.c
+@@ -267,7 +267,7 @@ struct process_block_struct {
+ static void pass1b(e2fsck_t ctx, char *block_buf)
+ {
+ ext2_filsys fs = ctx->fs;
+- ext2_ino_t ino;
++ ext2_ino_t ino = 0;
+ struct ext2_inode inode;
+ ext2_inode_scan scan;
+ struct process_block_struct pb;