git: sys/vfs/hammer: Make hammer_bnew*() call _hammer_bread()

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Wed Dec 9 09:43:10 PST 2015


commit 52a92d779a61aacf3ac2d63cac2a13d4dcde5f92
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Wed Dec 9 18:38:52 2015 +0900

    sys/vfs/hammer: Make hammer_bnew*() call _hammer_bread()
    
    Remove _hammer_bnew() since _hammer_bread() and _hammer_bnew()
    are the exact same except for isnew arg of hammer_get_buffer().
    
    hammer_bnew*() use isnew=1 to only allocate ondisk buffer with
    no disk i/o at the moment.

Summary of changes:
 sys/vfs/hammer/hammer_ondisk.c | 43 ++++++------------------------------------
 1 file changed, 6 insertions(+), 37 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/52a92d779a61aacf3ac2d63cac2a13d4dcde5f92


-- 
DragonFly BSD source repository



More information about the Commits mailing list