Skip to content

Commit e35245c

Browse files
authored
Merge pull request #128 from hayley-leblanc/issue_115
Zero out nova info header, fix issue 115
2 parents 6640052 + 71ff434 commit e35245c

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

fs/nova/bbuild.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,8 @@ static int nova_init_blockmap_from_inode(struct super_block *sb)
206206
u64 cpuid;
207207
int ret = 0;
208208

209+
memset(&sih, 0, sizeof(struct nova_info_header));
210+
209211
/* FIXME: Backup inode for BLOCKNODE */
210212
ret = nova_get_head_tail(sb, pi, &sih);
211213
if (ret)

0 commit comments

Comments
 (0)