MFC of 353903
Fix uninitialized variable in SUJ recovery.
This commit is contained in:
parent
925b5c0c47
commit
7ded4e113f
@ -1566,7 +1566,7 @@ ino_trunc(ino_t ino, off_t size)
|
||||
/* If we freed everything in this indirect free the indir. */
|
||||
if (lastlbn > lbn)
|
||||
continue;
|
||||
blk_free(DIP(ip, di_ib[i]), 0, frags);
|
||||
blk_free(DIP(ip, di_ib[i]), 0, fs->fs_frag);
|
||||
DIP_SET(ip, di_ib[i], 0);
|
||||
}
|
||||
ino_dirty(ino);
|
||||
|
Loading…
x
Reference in New Issue
Block a user