MFC of 353903

Fix uninitialized variable in SUJ recovery.
This commit is contained in:
Kirk McKusick 2019-10-27 03:47:16 +00:00
parent 925b5c0c47
commit 7ded4e113f

View File

@ -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);