git: sys/vfs/hammer2: Minor cleanup

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sat Nov 18 04:36:56 PST 2023


commit 258074ba74fc0fd47b2f765db4d96063f6dc1f8b
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Fri Nov 17 23:12:15 2023 -0800

    sys/vfs/hammer2: Minor cleanup
    
    - blockref size was 64 bytes back in 2012, but 128 bytes now.
    
    - Doesn't make much sense to assert vap in here, as it's already
     dereferenced earlier in this same function.
    
    - "hammer2_tid_t lhcbase" should be "hammer2_key_t lhcbase",
     though both are uint64_t.

Summary of changes:
 sys/vfs/hammer2/hammer2_disk.h  | 2 +-
 sys/vfs/hammer2/hammer2_inode.c | 1 -
 sys/vfs/hammer2/hammer2_vnops.c | 2 +-
 3 files changed, 2 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/258074ba74fc0fd47b2f765db4d96063f6dc1f8b


-- 
DragonFly BSD source repository


More information about the Commits mailing list