Fix a few issues in the kernel-side journal.
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 4 Jul 2005 21:05:54 +0000 (21:05 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 4 Jul 2005 21:05:54 +0000 (21:05 +0000)
commitd0887c34276ce04aa320cc76c044402df7971c0d
treedec6033bb465ec8313baa4ebe2d1ecf115902d72
parent6d7bc9b8b107d5dc59fd2a7932a896e281e61729
Fix a few issues in the kernel-side journal.

* Fix a missing vattr record in CREATE.
* Fix a misgenerated mode attribute.
* Fix a misgenerated file offset for the O_APPEND case.
* The 16 bit record type is unsigned, not signed (fixes comparisons in jscan)
* Add JTYPE_MASK against the record type for JTYPE and JLEAF comparisons.
sys/kern/vfs_jops.c
sys/kern/vfs_journal.c
sys/sys/journal.h