]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r256448, r257029;
authorpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 11 Dec 2013 19:25:38 +0000 (19:25 +0000)
committerpfg <pfg@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 11 Dec 2013 19:25:38 +0000 (19:25 +0000)
commit628e7b3ace082d501612dc9a76b65fae73f7ec65
tree64930ef9bbef92ab03d6d9f2b92aeee473915ee3
parentfd1dd247d92f5cd1d18d8766b71f0fe0304dd5d4
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/9@259224 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