git: Revert "sys/vfs/hammer2: Avoid void* pointer arithmetic"

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Wed Mar 8 02:06:25 PST 2023


commit 9be1b0c77afd935ea1e16400d86ee504c084ff74
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Mon Mar 6 00:16:39 2023 -0800

    Revert "sys/vfs/hammer2: Avoid void* pointer arithmetic"
    
    This reverts commit 3f53c53686fc9e236fb9949c8d2a665ce27832be.
    
    Unlike makefs' buf::b_data in DragonFly
    (until 02f727fe249ae3252e4721f806f49ded0544938e),
    the kernel buf::b_data in DragonFly has always been of caddr_t,
    so explicit cast was never needed.

Summary of changes:
 sys/vfs/hammer2/hammer2_io.c       | 2 +-
 sys/vfs/hammer2/hammer2_ondisk.c   | 6 +++---
 sys/vfs/hammer2/hammer2_strategy.c | 8 ++++----
 sys/vfs/hammer2/hammer2_vnops.c    | 2 +-
 4 files changed, 9 insertions(+), 9 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9be1b0c77afd935ea1e16400d86ee504c084ff74


-- 
DragonFly BSD source repository


More information about the Commits mailing list