kernel - Fix incorrect inode wait code in HAMMER
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 26 Feb 2011 17:32:40 +0000 (09:32 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 26 Feb 2011 17:35:38 +0000 (09:35 -0800)
commit88d0131e03be720651defb821209e926d1bd1062
tree0006de92508aa361861d5d85b41f4420122f1a76
parentdacb3008f47ed1ddf88ade5f57af0329179f48a3
kernel - Fix incorrect inode wait code in HAMMER

* Fix incorrect code t wait for an inode flush to finish.  This should also
  fix the reported assertion.

  Any bugs in this new code would likely result in process stalls instead
  of panics, so watch for that possibility.

Reported-by: Venkatesh Srinivas <vsrinivas@dragonflybsd.org>,
     Peter Avalos <peter@theshell.com>
sys/vfs/hammer/hammer_inode.c