git: sys/vfs/hammer: Cleanup volume format callback

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


commit 677e7a0554b536b63106e1bd19f1e81a70626894
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Sat Aug 8 00:10:44 2015 +0900

    sys/vfs/hammer: Cleanup volume format callback
    
    Apply the same code logic as volume free callback.
    
    No need to wait for ready-to-update-layer1-case to increment
    total_free_bigblocks via counter variable, as it has nothing
    to do with generating layer1 undo.

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

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/677e7a0554b536b63106e1bd19f1e81a70626894


-- 
DragonFly BSD source repository



More information about the Commits mailing list