git: sbin/hammer: Remove cache from volume_info

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sun Mar 27 10:07:45 PDT 2016


commit da5193516eda0bfa33c2942b15825360e41bb391
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Wed Mar 23 17:38:52 2016 +0900

    sbin/hammer: Remove cache from volume_info
    
    Remove unused cache structure from volume_info.
    volume_info doesn't use cache.
    
    modified flag and ref count for volume_info aren't necessary
    since it does nothing, other than making the code look more
    complex than it actually is.
    
    Also see the previous commit.

Summary of changes:
 sbin/hammer/blockmap.c           |  4 ----
 sbin/hammer/hammer_util.h        |  1 -
 sbin/hammer/ondisk.c             | 13 ++-----------
 sbin/newfs_hammer/newfs_hammer.c |  2 --
 4 files changed, 2 insertions(+), 18 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list