git: sys/vfs/hammer: Rename macros for consistency

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Tue Jul 7 09:19:37 PDT 2015


commit ac7efd27eb66cabe6875e3e16d43420a83d68736
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Tue Jul 7 19:33:27 2015 +0900

    sys/vfs/hammer: Rename macros for consistency
    
    - Rename HAMMER_SHORT_OFF_ENCODE() to HAMMER_OFF_SHORT_ENCODE()
      and HAMMER_LONG_OFF_ENCODE() to HAMMER_OFF_LONG_ENCODE() for
      consistency with the existing macros HAMMER_OFF_SHORT_MASK
      and HAMMER_OFF_LONG_MASK.
    
    - These two are used by ENCODE() macros and haven't been used
      independently elsewhere, so there is no effect to others.
      (if external userspace programs are using these then those
      programs are probably doing something strange)

Summary of changes:
 sys/vfs/hammer/hammer_disk.h | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ac7efd27eb66cabe6875e3e16d43420a83d68736


-- 
DragonFly BSD source repository



More information about the Commits mailing list