git: sys/vfs/hammer: Make use of volume bitmap

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sat Aug 8 13:47:18 PDT 2015


commit 046789c4d11059356fc71836ddb86bc1821ce061
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Tue Aug 4 19:29:14 2015 +0900

    sys/vfs/hammer: Make use of volume bitmap
    
    Make use of macros for volume bitmaps that was added in the
    previous commit to fix mount issue.
    
    With HAMMER_VOLUME_NUMBER_FOREACH(), hammer_get_volume() is
    used only against volumes currently exist, so the function
    shouldn't fail but keep null-check anyway.

Summary of changes:
 sys/vfs/hammer/hammer.h        |  7 +++++--
 sys/vfs/hammer/hammer_volume.c | 25 ++++++++++---------------
 2 files changed, 15 insertions(+), 17 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/046789c4d11059356fc71836ddb86bc1821ce061


-- 
DragonFly BSD source repository



More information about the Commits mailing list