sys/vfs/hammer: Rename hammer_ip_add_directory() to hammer_ip_add_direntry()
commitf6cae4e4e5ac0ed43883778ba930479fde894fb9
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sun, 28 Feb 2016 10:28:46 +0000 (28 19:28 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Sun, 28 Feb 2016 10:52:29 +0000 (28 19:52 +0900)
tree3a5cb9cd2f4b2f34d59b73d178ea27b5e97fe4c5
parent9a46be3907c706b9f5ea3a229eea943a93b1c219
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)
sys/vfs/hammer/hammer.h
sys/vfs/hammer/hammer_object.c
sys/vfs/hammer/hammer_vnops.c