git: sys/vfs/hammer: Cleanup assertion for zone

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Wed Dec 9 09:43:11 PST 2015


commit b0cce327c959b5e936facc5fbac7af085adc7319
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Wed Dec 9 21:41:36 2015 +0900

    sys/vfs/hammer: Cleanup assertion for zone
    
    Don't hardcode ZONE_BTREE (zone-8).
    
    Alhough it requires slightly more calculation than just >ZONE_BTREE,
    this is what blockmap does on every allocation/reservation/etc.

Summary of changes:
 sys/vfs/hammer/hammer_io.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list