This patch fixes the following problems: - Fixes a problem that crashed the system while it was running a "collision" test. The process would hang on a lock, never be woken, and crash the system. - Fixes a problem in AdvFS that produced the following system panic: bs_logflush_start: cannot write lsn