sys/vfs/hammer: Add inline functions hammer_modify_buffer|volume_noundo()
authorTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Thu, 30 Apr 2015 10:15:55 +0000 (19:15 +0900)
committerTomohiro Kusumi <kusumi.tomohiro@gmail.com>
Thu, 30 Apr 2015 17:45:28 +0000 (02:45 +0900)
commitf1c0ae53ab2430b23b87e0fadccbd4d5ffd1f403
treecda837dac6c7a520e6bf7969c72c167c2e571c76
parent09eff54480fb055069cd958cd5e25bfb797425a8
sys/vfs/hammer: Add inline functions hammer_modify_buffer|volume_noundo()

- Add noundo wrappers hammer_modify_buffer|volume_noundo() similar to
  the existing inline function hammer_modify_node_noundo() for better
  readability.

- A pair of args (NULL, 0) indicating that it's not generating undo is
  a bit unclear (and there are even comments for them).

- (The compiler doesn't actually inline hammer_modify_node_noundo()
  in my environment, but these one-line wrappers are inlined)
sys/vfs/hammer/hammer.h
sys/vfs/hammer/hammer_blockmap.c
sys/vfs/hammer/hammer_flusher.c
sys/vfs/hammer/hammer_mirror.c
sys/vfs/hammer/hammer_object.c
sys/vfs/hammer/hammer_reblock.c
sys/vfs/hammer/hammer_recover.c
sys/vfs/hammer/hammer_redo.c
sys/vfs/hammer/hammer_undo.c