Go to file
riastradh 487d92ffe0 Kill scary message about cross-block directories and fix its cause.
Add a bunch of kasserts to check more stringently that ufs_direnter
did not compact across directory blocks.  Don't bother fetching
subsequent I/O blocks from the directory: ufs_lookup guarantees that
it's not necessary, and the kasserts check this to be sure.

The message fired when we were looking at the start of an I/O block,
not when we crossed from the end of one to the start of another.  I
believe it fired only when tulr->ulr_offset was a multiple of the I/O
block size (fs_bsize), which can happen if ufs_lookup either finds an
entry or finds free space at the start of an I/O block.

If ufs_lookup found an entry, none of this ulr recalculation logic
should kick in -- if tvp != NULL, then tulr->ulr_count is garbage, so
it's not merely unnecessary but wrong (although I suspect harmless in
the end) to read it in ufs_rename_overlap_p in consideration of
whether to recalculate fulr.

Discussed with chuq and dholland.

ok dholland
2012-06-04 19:37:36 +00:00
bin Switch device database to cdb(5). Rework ttyname(3) and ttyname_r(3) to 2012-06-03 21:42:44 +00:00
common fix lint comment. 2012-04-07 16:28:59 +00:00
compat Fix typos; wording. 2012-03-29 18:35:11 +00:00
crypto Small spacing fix. Unbreaks section in xref. 2012-06-04 14:24:03 +00:00
dist Finish move of bzip2 from dist/bzip2 to external/bsd/bzip2. 2012-05-07 00:35:25 +00:00
distrib Switch terminfo(3) to cdb(5). 2012-06-03 23:19:09 +00:00
doc Add myself as responsible for urtwn(4), run(4). 2012-05-30 14:33:48 +00:00
etc Switch device database to cdb(5). Rework ttyname(3) and ttyname_r(3) to 2012-06-03 21:42:44 +00:00
external Import bind 9.9.1-P1 2012-06-04 17:53:08 +00:00
extsrc
games use modern shell constructs 2012-04-26 03:16:13 +00:00
gnu Format strings don't use all arguments in the non-pluralized case. 2012-05-09 07:59:23 +00:00
include Switch device database to cdb(5). Rework ttyname(3) and ttyname_r(3) to 2012-06-03 21:42:44 +00:00
lib Add cdbr(3) support to tools/compat. 2012-06-04 19:06:45 +00:00
libexec Add capfile(5) to describe the termcap format. 2012-04-21 12:27:24 +00:00
regress Disable new -Wstring-plus-int warning where needed for now. 2012-04-04 10:59:44 +00:00
rescue PR/46393 - Nat Sloss -- add gpt(8) to /rescue 2012-05-25 21:46:13 +00:00
sbin Add support for unsigned decimal values. 2012-06-02 21:38:09 +00:00
share Switch terminfo(3) to cdb(5). 2012-06-03 23:19:09 +00:00
sys Kill scary message about cross-block directories and fix its cause. 2012-06-04 19:37:36 +00:00
tests Switch terminfo(3) to cdb(5). 2012-06-03 23:19:09 +00:00
tools Add cdbr(3) support to tools/compat. 2012-06-04 19:06:45 +00:00
usr.bin Switch terminfo(3) to cdb(5). 2012-06-03 23:19:09 +00:00
usr.sbin npftest: add a module for TCP state tracking and add few test cases. 2012-06-04 00:28:34 +00:00
x11 Missed defining XSERVER_XVAX 2012-05-15 14:29:29 +00:00
build.sh Add sanity checks for live-image and install-image targets 2012-02-26 20:32:40 +00:00
BUILDING regen using 'make regen' in doc/ 2012-05-25 13:47:30 +00:00
Makefile Add usr.bin to the exclude list for make includes. 2012-04-21 08:28:00 +00:00
Makefile.inc
UPDATING Mention that you should run makemandb -f, or wait for the weekly script. 2012-05-07 11:20:24 +00:00