git: sbin/hammer: Remove rel_volume()

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sat Aug 6 06:01:32 PDT 2016


commit c6c4cbd9be7d7d4666836015c8e590b6fde1033f
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Sat Aug 6 17:54:29 2016 +0900

    sbin/hammer: Remove rel_volume()
    
    It does nothing after da519351 which got rid of unnecessary
    volume-modified flag.
    
    volume_info list never gets cleaned up once it's added, so
    release isn't necessary, unlike buffers (incl volume buffer)
    that need to be managed.

Summary of changes:
 sbin/hammer/blockmap.c           | 4 ----
 sbin/hammer/cmd_blockmap.c       | 2 --
 sbin/hammer/cmd_show.c           | 1 -
 sbin/hammer/hammer_util.h        | 1 -
 sbin/hammer/ondisk.c             | 8 --------
 sbin/newfs_hammer/newfs_hammer.c | 3 ---
 6 files changed, 19 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list