X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=blobdiff_plain;f=package%2Fe2fsprogs%2Fpatches%2F100-upstream_fix.patch;fp=package%2Fe2fsprogs%2Fpatches%2F100-upstream_fix.patch;h=48555a5e4645bf9b89531dd551c29dce5b93d672;hp=0000000000000000000000000000000000000000;hb=f90128207d3fae8e1930cf35518c06d689e03a5d;hpb=ba2a8d9dee097f544621a01c01aafb4c51efe98c diff --git a/package/e2fsprogs/patches/100-upstream_fix.patch b/package/e2fsprogs/patches/100-upstream_fix.patch new file mode 100644 index 0000000000..48555a5e46 --- /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;