usr.sbin/makefs/ffs: Remove m_buf::b_is_hammer2
commitb709ee55c4465fe56ef95aa90bc90307e1fbe0a6
authorTomohiro Kusumi <tkusumi@netbsd.org>
Sat, 22 Apr 2023 07:41:49 +0000 (22 00:41 -0700)
committerTomohiro Kusumi <tkusumi@netbsd.org>
Sat, 22 Apr 2023 08:33:40 +0000 (22 01:33 -0700)
treeb3c846c33c6faec9bfcaa947b30462c789e48317
parent9b64a82b786d1467720087034c5c2f4791c2e03a
usr.sbin/makefs/ffs: Remove m_buf::b_is_hammer2

FreeBSD makefs(8) now calls brelse() on bwrite(), whereas DragonFly
has had that behavior specifically for HAMMER2 to emulate VFS behavior.

m_buf::b_is_hammer2 flag which was introduced for this reason now
needs to be removed, otherwise it attempts to double free struct m_buf.
usr.sbin/makefs/ffs/buf.c
usr.sbin/makefs/ffs/buf.h
usr.sbin/makefs/hammer2/hammer2_buf.c