git: sbin/newfs_hammer2: Use ~HAMMER2_PBUFMASK64 to obtain pbuf offset

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Wed Aug 26 07:44:36 PDT 2020


commit 40123429c817b884b45e0ba93977646ec8a1c73f
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Thu Aug 27 00:15:18 2020 +0900

    sbin/newfs_hammer2: Use ~HAMMER2_PBUFMASK64 to obtain pbuf offset
    
    HAMMER2 in practice uses ~HAMMER2_PBUFMASK64 for this purpose
    rather than HAMMER2_OFF_MASK_HI which is only used here.
    Also more readable considering use of PBUF macros in HAMMER2.

Summary of changes:
 sbin/newfs_hammer2/newfs_hammer2.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/40123429c817b884b45e0ba93977646ec8a1c73f


-- 
DragonFly BSD source repository



More information about the Commits mailing list