mirror of https://github.com/vitalif/e2fsprogs
e2fsck: fix use of uninitialized value in the MMP code
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>bitmap-optimize
parent
ba37bb704f
commit
24c91184d6
|
@ -545,7 +545,7 @@ void e2fsck_pass1(e2fsck_t ctx)
|
||||||
int i;
|
int i;
|
||||||
__u64 max_sizes;
|
__u64 max_sizes;
|
||||||
ext2_filsys fs = ctx->fs;
|
ext2_filsys fs = ctx->fs;
|
||||||
ext2_ino_t ino;
|
ext2_ino_t ino = 0;
|
||||||
struct ext2_inode *inode;
|
struct ext2_inode *inode;
|
||||||
ext2_inode_scan scan;
|
ext2_inode_scan scan;
|
||||||
char *block_buf;
|
char *block_buf;
|
||||||
|
|
|
@ -267,7 +267,7 @@ struct process_block_struct {
|
||||||
static void pass1b(e2fsck_t ctx, char *block_buf)
|
static void pass1b(e2fsck_t ctx, char *block_buf)
|
||||||
{
|
{
|
||||||
ext2_filsys fs = ctx->fs;
|
ext2_filsys fs = ctx->fs;
|
||||||
ext2_ino_t ino;
|
ext2_ino_t ino = 0;
|
||||||
struct ext2_inode inode;
|
struct ext2_inode inode;
|
||||||
ext2_inode_scan scan;
|
ext2_inode_scan scan;
|
||||||
struct process_block_struct pb;
|
struct process_block_struct pb;
|
||||||
|
|
Loading…
Reference in New Issue