git: sys/vfs/hammer: Use hammer_find_inode()

Tomohiro Kusumi tkusumi at
Fri Dec 11 03:06:31 PST 2015

commit 587c6c14de739603ac99a467c8087793c5b1591d
Author: Tomohiro Kusumi <kusumi.tomohiro at>
Date:   Thu Dec 10 19:51:12 2015 +0900

    sys/vfs/hammer: Use hammer_find_inode()
    Add __hammer_find_inode() and make hammer_get_*inode() use this.
    __hammer_find_inode() is no-ref version of hammer_find_inode()
    directly called by hammer_find_inode().
    Neither three function arguments obj_id, asof, localization nor
    three fields of struct hammer_inode_info are modified in
    hammer_get_inode() and hammer_get_dummy_inode(), so getting rid
    of hammer_inode_info initialization placed before loop: is ok.

Summary of changes:
 sys/vfs/hammer/hammer_inode.c | 51 +++++++++++++++++++++++++------------------
 1 file changed, 30 insertions(+), 21 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list