sys/vfs/hammer: Cleanup ifdef/else in hammer.h [2/2]
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Wed, 29 Apr 2015 15:21:56 +0000 (00:21 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Wed, 29 Apr 2015 16:05:09 +0000 (01:05 +0900)
commit23e66b3b16937f4a13761b4fc2f7578b1314a90c
treece83cd3689757a00420b6271f105c11dcf3eedac
parent1caa20358006378375b610381def7e22fa38cad5
sys/vfs/hammer: Cleanup ifdef/else in hammer.h [2/2]

872a7eee introduced hammer.h to userspace using ifdef/else switches
  that needs to be cleaned up. It ended up that everything in hammer.h
  was kernel stuff. Userspace needs this header only to include other
  hammer headers that are already available in userspace.

- hunk 1,2 - Cleanup and conform to style(9).

- hunk 3,4 - Userspace doesn't need HAMMER_CHKSPC_XXX. These are only
  internally used by big block allocator.

- hunk 5,6 - Userspace doesn't need hammer_modify_xxx(). These are only
  internally used to begin i/o and generate undo for some meta data.
sys/vfs/hammer/hammer.h