HAMMER commit
authorMatthew Dillon <dillon@dragonflybsd.org>
Sat, 26 Jul 2008 05:36:21 +0000 (05:36 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Sat, 26 Jul 2008 05:36:21 +0000 (05:36 +0000)
commit00f16fad49e31122c26cc75f51fc26d315e93441
tree5eeac5d780160bde4b1ee706a998b39776564c94
parente420e7d5de6035b1ba4e1109d221efc954c562c1
HAMMER commit

* Discard recovered buffers when unmounting a read-only HAMMER mount.

* Discard recovered buffers when an attempted HAMMER mount fails.

* Clean up a transaction that was left open when a HAMMER mount fails to
  locate the root inode.

* Check that an undo record is at least minimally sized so corruption
  does not result in an infinite loop.

Reported-by: Dionysus Blazakis <dion.blazakis@gmail.com>,
    Gergo Szakal <bastyaelvtars@gmail.com>
sys/vfs/hammer/hammer_recover.c
sys/vfs/hammer/hammer_vfsops.c