git: sys/vfs/hammer: Use HAMMER_OFF_{SHORT,LONG}_ENCODE()
Tomohiro Kusumi
tkusumi at crater.dragonflybsd.org
Tue Nov 1 07:36:27 PDT 2016
commit eee3f66c6670aea61d1f776310359c8a1cb7a92e
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date: Tue Nov 1 21:44:06 2016 +0900
sys/vfs/hammer: Use HAMMER_OFF_{SHORT,LONG}_ENCODE()
HAMMER_OFF_XXX_ENCODE() macros cast result to hammer_off_t,
which is uint64_t, but makes no difference in these cases.
Summary of changes:
sbin/hammer/blockmap.c | 3 +--
sbin/hammer/misc.c | 2 +-
sbin/hammer/ondisk.c | 6 +++---
sbin/newfs_hammer/newfs_hammer.c | 2 +-
sys/vfs/hammer/hammer_disk.h | 3 +--
sys/vfs/hammer/hammer_recover.c | 16 ++++++++--------
sys/vfs/hammer/hammer_undo.c | 10 +++++-----
7 files changed, 20 insertions(+), 22 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/eee3f66c6670aea61d1f776310359c8a1cb7a92e
--
DragonFly BSD source repository
More information about the Commits
mailing list