git: sbin/hammer: Remove unnecessary conditional on freemap initialization

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sat Mar 19 14:27:44 PDT 2016


commit a4d744156443be06f6602dc1b70c6b0a40572949
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Wed Mar 16 07:31:02 2016 +0900

    sbin/hammer: Remove unnecessary conditional on freemap initialization
    
    if (layer2->zone == 0)
    isn't necessary since this function has just zero cleared this
    layer2 entry (that will be written back to the storage later).

Summary of changes:
 sbin/hammer/ondisk.c | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list