git: sys/vfs/hammer: Rename hammer_ip_add_directory() to hammer_ip_add_direntry()
Tomohiro Kusumi
tkusumi at crater.dragonflybsd.org
Sun Feb 28 05:16:31 PST 2016
commit f6cae4e4e5ac0ed43883778ba930479fde894fb9
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date: Sun Feb 28 19:28:46 2016 +0900
sys/vfs/hammer: Rename hammer_ip_add_directory() to hammer_ip_add_direntry()
The name "hammer_ip_add_directory" is confusing in the sense that
it sounds like the function adds a directory as an object type.
What this function actually does is add 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 | 14 +++++++-------
3 files changed, 9 insertions(+), 9 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/f6cae4e4e5ac0ed43883778ba930479fde894fb9
--
DragonFly BSD source repository
More information about the Commits
mailing list