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

Tomohiro Kusumi tkusumi at
Wed Dec 9 09:43:10 PST 2015

commit 52a92d779a61aacf3ac2d63cac2a13d4dcde5f92
Author: Tomohiro Kusumi <kusumi.tomohiro at>
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(-)

DragonFly BSD source repository

More information about the Commits mailing list