git: sys/vfs/hammer: Rename hammer_ip_del_directory() to hammer_ip_del_direntry()

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sun Feb 28 05:16:31 PST 2016


commit 17d039eee41b25bde4014fba7ccf0efb2b3de70f
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Sun Feb 28 19:30:55 2016 +0900

    sys/vfs/hammer: Rename hammer_ip_del_directory() to hammer_ip_del_direntry()
    
    The name "hammer_ip_del_directory" is confusing in the sense that
    it sounds like the function deletes a directory as an object type.
    What this function actually does is delete a directory entry which
    is different from a directory as an object type.
    (Note that rectype for directory entry is HAMMER_RECTYPE_DIRENTRY)

Summary of changes:
 sys/vfs/hammer/hammer.h        | 2 +-
 sys/vfs/hammer/hammer_object.c | 2 +-
 sys/vfs/hammer/hammer_vnops.c  | 8 ++++----
 3 files changed, 6 insertions(+), 6 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/17d039eee41b25bde4014fba7ccf0efb2b3de70f


-- 
DragonFly BSD source repository



More information about the Commits mailing list