Use a proper type for the variable holding the summary size of the inode

data. Otherwise, on 32bit systems, unlinked inode which size is the
multiple of 4GB was not truncated, causing corruption.

Reported by:	brucec
Reviewed by:	mckusick
Tested by:	pho
This commit is contained in:
kib 2010-12-29 11:19:39 +00:00
parent 3daac37e3c
commit 305388e45b

View File

@ -76,7 +76,7 @@ ufs_inactive(ap)
struct thread *td = ap->a_td;
mode_t mode;
int error = 0;
int isize;
off_t isize;
struct mount *mp;
mp = NULL;