]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r256448, r257029;
authorpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 11 Dec 2013 19:25:17 +0000 (19:25 +0000)
committerpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 11 Dec 2013 19:25:17 +0000 (19:25 +0000)
commit019788d46d0109f152f45ad78c4223a3197e1ec3
treea797eda1cd0feac0206bc7781083c6804060cd74
parenta0874e5e02ab1e3e9bdb07dedb808f713e2fb810
MFC r256448, r257029;

Make di_blocks unsigned in UFS1 as is the case already for UFS2.
 Most of the code between UFS1 and UFS2 is shared so this change
 is pretty safe. Not only this makes UFS1 and 2 consistent but it
 also matches what NetBSD and MacOS X have for some years now.

UFS2: make di_extsize unsigned.
 di_extsize is the EA size and as such it should be unsigned.
 Adjust related types for consistency.

Reviewed by: mckusick

git-svn-id: svn://svn.freebsd.org/base/stable/10@259223 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sbin/fsck_ffs/ea.c
sbin/growfs/debug.c
sys/fs/ext2fs/ext2_vnops.c
sys/ufs/ffs/ffs_vnops.c
sys/ufs/ufs/dinode.h