HAMMER 16B/many: Fix data overwrite case.
commit9dbcbbc0df9b78b6c61417ae2d371ec8b261281d
authorMatthew Dillon <dillon@dragonflybsd.org>
Wed, 9 Jan 2008 04:05:37 +0000 (9 04:05 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Wed, 9 Jan 2008 04:05:37 +0000 (9 04:05 +0000)
treeb8e63616649f7574db1ce3f2992d77ed51ef17dc
parente90d95ab6168acd6193d2c2f8db618ce3ce4925b
HAMMER 16B/many: Fix data overwrite case.

HAMMER will often write out data records for an inode before writing out
the newly created inode itself.  This is desireable because it allows
HAMMER to avoid replacing the on-disk inode record every time the file
size changes.

Fix a bug related to this issue where HAMMER was not checking for on-disk
data records in the data overwrite case prior to the inode being written
out.
sys/vfs/hammer/hammer.h
sys/vfs/hammer/hammer_object.c