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:
Konstantin Belousov 2010-12-29 11:19:39 +00:00
parent c8e368a933
commit abf6c181e4

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;