git: sbin/hammer: Add __alloc_buffer() to refactor get_buffer()
Tomohiro Kusumi
tkusumi at crater.dragonflybsd.org
Wed Dec 14 09:37:52 PST 2016
commit a8abc07e106c931dcb1f2a1ef09ce80b6843107d
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date: Wed Dec 14 10:43:34 2016 +0900
sbin/hammer: Add __alloc_buffer() to refactor get_buffer()
No functional difference, but this should make more sense than
how get_buffer() (which is one of the complicated functions in
HAMMER userspace) was implemented before.
After the previous commit, volume_info* doesn't need to be
visible to get_buffer().
Summary of changes:
sbin/hammer/ondisk.c | 62 ++++++++++++++++++++++++++++------------------------
1 file changed, 34 insertions(+), 28 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a8abc07e106c931dcb1f2a1ef09ce80b6843107d
--
DragonFly BSD source repository
More information about the Commits
mailing list