git: usr.sbin/makefs/ffs: Remove m_buf::b_is_hammer2
Tomohiro Kusumi
tkusumi at crater.dragonflybsd.org
Sat Apr 22 02:55:05 PDT 2023
commit b709ee55c4465fe56ef95aa90bc90307e1fbe0a6
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date: Sat Apr 22 00:41:49 2023 -0700
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.
Summary of changes:
usr.sbin/makefs/ffs/buf.c | 19 ++-----------------
usr.sbin/makefs/ffs/buf.h | 1 -
usr.sbin/makefs/hammer2/hammer2_buf.c | 1 -
3 files changed, 2 insertions(+), 19 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/b709ee55c4465fe56ef95aa90bc90307e1fbe0a6
--
DragonFly BSD source repository
More information about the Commits
mailing list