git: sys/vfs/hammer: Use HAMMER_MAX_KEY for initial trunc_off values

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Wed Oct 12 07:12:19 PDT 2016


commit c94d411ef45286398e0f749eb2d993c8e6f93415
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Wed Oct 12 21:57:37 2016 +0900

    sys/vfs/hammer: Use HAMMER_MAX_KEY for initial trunc_off values
    
    ip->trunc_off variants are to be compared with node elm's base.key,
    so it should use HAMMER_MAX_KEY on initialization instead of
    0x7FFFFFFFFFFFFFFFLL.

Summary of changes:
 sys/vfs/hammer/hammer_inode.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list