48555a5e4645bf9b89531dd551c29dce5b93d672
[openwrt/svn-archive/archive.git] / package / e2fsprogs / patches / 100-upstream_fix.patch
1 --- a/e2fsck/pass1.c
2 +++ b/e2fsck/pass1.c
3 @@ -545,7 +545,7 @@ void e2fsck_pass1(e2fsck_t ctx)
4 int i;
5 __u64 max_sizes;
6 ext2_filsys fs = ctx->fs;
7 - ext2_ino_t ino;
8 + ext2_ino_t ino = 0;
9 struct ext2_inode *inode;
10 ext2_inode_scan scan;
11 char *block_buf;
12 --- a/e2fsck/pass1b.c
13 +++ b/e2fsck/pass1b.c
14 @@ -267,7 +267,7 @@ struct process_block_struct {
15 static void pass1b(e2fsck_t ctx, char *block_buf)
16 {
17 ext2_filsys fs = ctx->fs;
18 - ext2_ino_t ino;
19 + ext2_ino_t ino = 0;
20 struct ext2_inode inode;
21 ext2_inode_scan scan;
22 struct process_block_struct pb;