sys/vfs/hammer: cleanup using existing macro
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Fri, 26 Dec 2014 20:38:02 +0000 (05:38 +0900)
committerAntonio Huete Jimenez <tuxillo@quantumachine.net>
Sat, 17 Jan 2015 16:06:56 +0000 (17:06 +0100)
commitb003792445956c8f0d12e89f57c99f15dcb68621
treea5e99bdfe9a01f019b829af08323a6f33426bcf0
parent331e9727c111ae7216a4abbcdf4fc003141c5ab9
sys/vfs/hammer: cleanup using existing macro

- This patch is a cleanup with no change to behavior of
  hammer_ip_check_directory_empty().
- Using existing macro as well as a new macro HAMMER_RECTYPE_ENTRY_START
  (in the same fashion as HAMMER_RECTYPE_CLEAN_START) makes it easier to
  understand what this function is doing (just like other functions that
  use both key_beg/key_end do).

Closes: #2752
sys/vfs/hammer/hammer_disk.h
sys/vfs/hammer/hammer_object.c