git: sys/vfs/hammer: Remove HAMMER_ITIMES_XXX macros

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sun Nov 29 06:03:57 PST 2015


commit 5b93c62dcd3f0ec8cf36f32b1e1d18eaca8e87bd
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Sun Nov 29 19:14:46 2015 +0900

    sys/vfs/hammer: Remove HAMMER_ITIMES_XXX macros
    
    hammer_update_itimes() is better without these macros.
    
    The details of hammer_modify_buffer() arguments shouldn't be
    hidden by these macros, because ondisk inode fields modified
    in the next two lines are what hammer_modify_buffer() pushes
    into undo fifo. This relation should be visible in the code.
    
    Also remove a comment that refers to HAMMER_INODE_ITIMES.
    This macro has already been removed.

Summary of changes:
 sys/vfs/hammer/hammer_disk.h  | 3 ---
 sys/vfs/hammer/hammer_inode.c | 7 +++----
 2 files changed, 3 insertions(+), 7 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list