git: sys/vfs/hammer: Remove signature from ondisk node

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Tue Nov 24 09:40:20 PST 2015


commit 79082206b0b1b9c651f2f77e1096788a28387c7b
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Wed Nov 25 01:00:26 2015 +0900

    sys/vfs/hammer: Remove signature from ondisk node
    
    The node signature was added in the early stage of hammer
    development, but it's no longer used for anything except
    that newfs_hammer sets the field to GOOD (for no reason).
    
    c461935c added some code to propagate the GOOD signature
    on node split (just to make it look a bit more sane), but
    it's useless anyway.
    
    This commit changes the signature field to reserved00,
    and also gets rid of HAMMER_BTREE_SIGNATURE_XXX macros.
    The change doesn't affect anything just like c461935c did
    nothing good or bad.

Summary of changes:
 sbin/hammer/cmd_show.c           | 2 --
 sbin/newfs_hammer/newfs_hammer.c | 1 -
 sys/vfs/hammer/hammer_btree.c    | 4 ----
 sys/vfs/hammer/hammer_btree.h    | 4 +---
 4 files changed, 1 insertion(+), 10 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/79082206b0b1b9c651f2f77e1096788a28387c7b


-- 
DragonFly BSD source repository



More information about the Commits mailing list