git: sys/vfs/hammer2: Use HAMMER2_VOLUME_BYTES for volume header size

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Wed Jul 19 03:06:12 PDT 2023


commit 73da171931e10cdde2aceb0593a5ff8ad3ecb333
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Wed Jul 19 01:08:06 2023 -0700

    sys/vfs/hammer2: Use HAMMER2_VOLUME_BYTES for volume header size
    
    Both HAMMER2_PBUFSIZE and HAMMER2_VOLUME_BYTES are 64KiB,
    but HAMMER2_VOLUME_BYTES should be used for volume header size
    when explicitly getting / reading a volume header block.
    It's been mix of these two.

Summary of changes:
 sbin/fsck_hammer2/destroy.c     |  4 ++--
 sbin/fsck_hammer2/reconstruct.c | 10 +++++-----
 sbin/fsck_hammer2/test.c        | 16 ++++++++--------
 sbin/hammer2/ondisk.c           |  4 ++--
 sys/vfs/hammer2/hammer2_flush.c |  4 ++--
 5 files changed, 19 insertions(+), 19 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/73da171931e10cdde2aceb0593a5ff8ad3ecb333


-- 
DragonFly BSD source repository


More information about the Commits mailing list