]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC of 203763, 203764, 203768, 203769, 203770, 203782, and 203784.
authormckusick <mckusick@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 26 Feb 2010 21:49:11 +0000 (21:49 +0000)
committermckusick <mckusick@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 26 Feb 2010 21:49:11 +0000 (21:49 +0000)
commitafd371abfc2d5c5ac06fabac18516358b1b5e440
tree50841b62bf102e5e0e804d7853a81fa5bf846be9
parentc23c37a9096371858b1be84b3556eab7e0dbe453
MFC of 203763, 203764, 203768, 203769, 203770, 203782, and 203784.

These fixes correct a problem in the file system that treats large
inode numbers as negative rather than unsigned. For a default
(16K block) file system, this bug began to show up at a file system
size above about 16Tb.

These fixes also update newfs to ensure that it will never create a
filesystem with more than 2^32 inodes.

They also update libufs, tunefs, and growfs so that they properly
handle inode numbers as unsigned.

Reported by: Scott Burns, John Kilburg, and Bruce Evans
Followup by: Jeff Roberson
PR:          133980

git-svn-id: svn://svn.freebsd.org/base/stable/8@204375 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libufs/cgroup.c
lib/libufs/sblock.c
sbin/growfs/growfs.c
sbin/newfs/mkfs.c
sbin/newfs/newfs.c
sbin/newfs/newfs.h
sbin/tunefs/tunefs.c
sys/ufs/ffs/ffs_alloc.c
sys/ufs/ffs/fs.h