git: sys/vfs/hammer: Add test_free_callback()

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sun Aug 2 00:34:29 PDT 2015


commit 896689698e9f9ee1ebb955a4dab38c5cc60b9990
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Thu Jul 30 02:09:34 2015 +0900

    sys/vfs/hammer: Add test_free_callback()
    
    Add test_free_callback() and remove dry run code from
    free_callback() which has been used for both testing
    and actual ondisk modification. It makes free_callback()
    more simple and clearer with no flag and null-checks
    that were necessary to make it work for both purposes.

Summary of changes:
 sys/vfs/hammer/hammer_volume.c | 53 ++++++++++++++++++++++++++++--------------
 1 file changed, 35 insertions(+), 18 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/896689698e9f9ee1ebb955a4dab38c5cc60b9990


-- 
DragonFly BSD source repository


More information about the Commits mailing list