git: sys/vfs/hammer: Cleanup volume# iteration

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Mon Aug 17 09:06:32 PDT 2015


commit e682c3854a60ddc3023e1d2bebabeb7cbf279085
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Tue Aug 11 19:24:22 2015 +0900

    sys/vfs/hammer: Cleanup volume# iteration
    
    if (volume == NULL && error == ENOENT) {...
    can be removed since now that vol_no must exist.
    
    If error==ENOENT and hits the assertion right after this,
    then the code has a bug.

Summary of changes:
 sys/vfs/hammer/hammer_volume.c | 17 -----------------
 1 file changed, 17 deletions(-)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list