git: sbin/hammer: add get_ondisk()

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sat Feb 14 11:47:29 PST 2015


commit 24dd58053d0c5202c7072e4a7b9cca0f3aae5a14
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Wed Feb 4 05:31:46 2015 +0900

    sbin/hammer: add get_ondisk()
    
    - Cleanup get_buffer_data() and get_node() using a new inline function
      get_ondisk(). These two actually do the same thing except for the way
      they release an existing buffer (--ref and eventually free it).
    
    - from Submit #2783

Summary of changes:
 sbin/hammer/ondisk.c | 47 +++++++++++++++++++++++++++++++++--------------
 1 file changed, 33 insertions(+), 14 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/24dd58053d0c5202c7072e4a7b9cca0f3aae5a14


-- 
DragonFly BSD source repository



More information about the Commits mailing list