1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00
freebsd/sbin
Konstantin Belousov 364e72457f For incompleted block allocations or frees, the inode block count usage
must be recalculated. The blk_check pass of suj checker explicitely marks
inodes which owned such blocks as needing block count adjustment. But
ino_adjblks() is only called by cg_trunc pass, which is performed before
blk_check. As result, the block use count for such inodes is left wrong.
This causes full fsck run after journaled run to still find inconsistencies
like 'INCORRECT BLOCK COUNT I=14557 (328 should be 0)' in phase 1.

Fix this issue by running additional adj_blk pass after blk_check, which
updates the field.

Reviewed by:	jeff, mckusick
MFC after:	1 week
2012-06-12 21:37:27 +00:00
..
adjkerntz Fix a variety of grammar and style nits 2012-03-09 01:32:05 +00:00
atacontrol Fixes to man8 groff mandoc style, usage mistakes, or typos. 2012-05-24 02:24:03 +00:00
atm
badsect
bsdlabel It seems that libdisk(3) incorrectly sets d_secperunit value. 2012-04-11 06:35:13 +00:00
camcontrol Minor spelling fixes. 2012-06-05 18:07:20 +00:00
ccdconfig
clri
comcontrol
conscontrol
ddb
devd Make devd build with libc++. 2012-06-01 06:56:35 +00:00
devfs mdoc: minor improvements to a few lists with tags. 2012-06-09 07:18:53 +00:00
dhclient
dmesg
dump mdoc: move two sentences from synopsis to description (where they really 2012-05-23 15:06:13 +00:00
dumpfs
dumpon
etherswitchcfg Fixes to man8 groff mandoc style, usage mistakes, or typos. 2012-05-24 02:24:03 +00:00
fdisk VMware environment is frequent nowadays. Add VMFS id. 2012-04-16 17:30:19 +00:00
fdisk_pc98
ffsinfo
fsck
fsck_ffs For incompleted block allocations or frees, the inode block count usage 2012-06-12 21:37:27 +00:00
fsck_msdosfs Make sure that each va_start has one and only one matching va_end, 2012-05-29 01:48:06 +00:00
fsdb Partially undo r228693, by removing NO_WFORMAT.clang in fsdb's Makefile, 2012-03-09 21:02:39 +00:00
fsirand Fix warning when compiling with gcc46: 2012-01-10 02:59:43 +00:00
gbde
geom Fixes to man8 groff mandoc style, usage mistakes, or typos. 2012-05-24 02:24:03 +00:00
ggate
growfs mdoc: remove redundant paragraph macro. 2012-05-12 14:46:49 +00:00
gvinum Fixes to man8 groff mandoc style, usage mistakes, or typos. 2012-05-24 02:24:03 +00:00
hastctl Fixes to man8 groff mandoc style, usage mistakes, or typos. 2012-05-24 02:24:03 +00:00
hastd Revert: r236909 2012-06-11 20:27:52 +00:00
ifconfig Remove repeated words. 2012-06-05 18:19:52 +00:00
init init: Remove unnecessary 2-second delay before calling reboot(2). 2012-05-25 19:45:01 +00:00
ipf
ipfw Update maximum number of tables available in ipfw to reflect 2012-06-09 20:47:58 +00:00
iscontrol General mdoc(7) and typo fixes. 2012-05-12 15:08:22 +00:00
kldconfig
kldload Remove superfluous paragraph macro. 2012-03-25 09:21:09 +00:00
kldstat
kldunload
ldconfig
mca Fix a variety of compile errors with gcc48 and clang 2012-05-31 08:22:02 +00:00
md5 General mdoc(7) and typo fixes. 2012-05-10 02:07:00 +00:00
mdconfig Remove end of line whitespace. 2012-05-12 19:59:37 +00:00
mdmfs Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
mknod
mksnap_ffs
mount Fixes to man8 groff mandoc style, usage mistakes, or typos. 2012-05-24 02:24:03 +00:00
mount_cd9660 Change checkpath() to not exit on error. This is a prerequisite for 2012-01-16 19:34:21 +00:00
mount_ext2fs Change checkpath() to not exit on error. This is a prerequisite for 2012-01-16 19:34:21 +00:00
mount_hpfs
mount_msdosfs Change checkpath() to not exit on error. This is a prerequisite for 2012-01-16 19:34:21 +00:00
mount_nfs Add a timeout on positive name cache entries in the NFS client. That is, 2012-01-25 20:05:58 +00:00
mount_ntfs Remove trailing whitespace. 2012-01-28 13:41:34 +00:00
mount_nullfs Change checkpath() to not exit on error. This is a prerequisite for 2012-01-16 19:34:21 +00:00
mount_reiserfs Change checkpath() to not exit on error. This is a prerequisite for 2012-01-16 19:34:21 +00:00
mount_std Change checkpath() to not exit on error. This is a prerequisite for 2012-01-16 19:34:21 +00:00
mount_udf Change checkpath() to not exit on error. This is a prerequisite for 2012-01-16 19:34:21 +00:00
mount_unionfs Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
nandfs mdoc: remove superfluous paragraph macro. 2012-05-17 11:29:22 +00:00
natd mdoc: fix a few badly nested blocks. 2012-06-09 10:43:33 +00:00
newfs Fix warning when compiling with gcc46: 2012-01-10 02:59:09 +00:00
newfs_msdos Globally replace u_int*_t from (non-contributed) man pages. 2012-02-12 18:29:56 +00:00
newfs_nandfs mdoc: remove whitespace. 2012-05-17 11:50:12 +00:00
nfsiod
nos-tun
pfctl
pflogd
ping
ping6 Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
quotacheck Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
rcorder Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
reboot Add BSD copyright notice. 2012-02-07 14:06:30 +00:00
recoverdisk
resolvconf
restore Make sure that each va_start has one and only one matching va_end, 2012-05-29 01:48:06 +00:00
route Remove superfluous paragraph macro. 2012-03-25 09:21:09 +00:00
routed Fix a style bug 2012-01-13 06:56:59 +00:00
rtsol
savecore Include <signal.h> (for SIGINFO). 2012-04-09 20:55:23 +00:00
sconfig
setkey Minor mdoc improvements. 2012-06-03 07:45:42 +00:00
shutdown shutdown: Remove unnecessary 2-second delay. 2012-05-23 19:25:46 +00:00
spppcontrol
sunlabel mdoc: fix column names, indentation, column separation within each row, and 2012-04-07 09:05:30 +00:00
swapon
sysctl s/Free Memory Pages/Free Memory/ to avoid confusion, since we're 2012-04-11 14:18:18 +00:00
tunefs
umount
Makefile Import work done under project/nand (@235533) into head. 2012-05-17 10:11:18 +00:00
Makefile.amd64
Makefile.arm
Makefile.i386
Makefile.ia64
Makefile.inc
Makefile.mips
Makefile.pc98
Makefile.sparc64