HAMMER VFS - Fix HAMMER_INODE_XDIRTY flags / state assertion
authorMatthew Dillon <dillon@apollo.backplane.com>
Sun, 28 Nov 2010 06:40:13 +0000 (22:40 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sun, 28 Nov 2010 06:40:13 +0000 (22:40 -0800)
commit2010e32f91e9947bbfa33c864a1bd32bef573074
tree0153153d5fd00cd2409903089c62921920af8c73
parentd1368d1a9cb1e243085a10a268783ee7fa8fd95a
HAMMER VFS - Fix HAMMER_INODE_XDIRTY flags / state assertion

* The HAMMER_INODE_XDIRTY flag was not being immediately synchronized
  with the state of ip->rec_tree in one case and the delay could create
  a window of opportunity where an assertion would get hit.

* Remove the window of opportunity, the assertion no longer gets hit.

Reported-by: YONETANI Tomokazu <qhwt.dfly@les.ath.cx>
sys/vfs/hammer/hammer_object.c