git: sys/vfs/hammer2: Remove HAMMER2_MINIO* macros

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Thu Aug 27 08:28:21 PDT 2020


commit 5dade8cf9047536f0f75216e0411adfa454ea463
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Fri Aug 28 00:08:07 2020 +0900

    sys/vfs/hammer2: Remove HAMMER2_MINIO* macros
    
    HAMMER2_MINIO* were added in 1a7cfe5ae3c897f704a358fd3e556a55e430dcb1
    in 2013 to switch HAMMER2_MINIO* values with ifdefs when ondisk format
    wasn't stable.
    
    This is no longer needed, and using both HAMMER2_MINIO* and HAMMER2_LBUF*
    should be avoided. Users of HAMMER2_MINIO* exist in several userspace
    programs which walk through blockrefs from top to bottom.

Summary of changes:
 sbin/fsck_hammer2/destroy.c       | 8 ++++----
 sbin/fsck_hammer2/reconstruct.c   | 8 ++++----
 sbin/fsck_hammer2/test.c          | 4 ++--
 sbin/hammer2/cmd_debug.c          | 4 ++--
 sbin/hammer2/cmd_info.c           | 4 ++--
 sys/vfs/hammer2/hammer2.h         | 2 +-
 sys/vfs/hammer2/hammer2_disk.h    | 9 ---------
 sys/vfs/hammer2/hammer2_freemap.c | 2 +-
 usr.sbin/fstyp/hammer2.c          | 4 ++--
 9 files changed, 18 insertions(+), 27 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5dade8cf9047536f0f75216e0411adfa454ea463


-- 
DragonFly BSD source repository



More information about the Commits mailing list