git: sys/vfs/hammer: Cleanup ifdef/else in hammer.h [2/2]
tkusumi at crater.dragonflybsd.org
Wed Apr 29 11:12:13 PDT 2015
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date: Thu Apr 30 00:21:56 2015 +0900
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.
Summary of changes:
sys/vfs/hammer/hammer.h | 12 +++---------
1 file changed, 3 insertions(+), 9 deletions(-)
DragonFly BSD source repository
More information about the Commits