git: sbin/hammer: Cleanup blockmap_lookup()

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Wed Dec 14 09:37:53 PST 2016


commit c6f0ed7ddd64cff676dcfe5e7fdce9e0dfd0c5b7
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Wed Dec 14 06:18:16 2016 +0900

    sbin/hammer: Cleanup blockmap_lookup()
    
    The original intention of this function was to return result_offset
    even if there was an error (probably for debugging in early stage),
    but no one no longer cares about returned offset on error.

Summary of changes:
 sbin/hammer/blockmap.c | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list