git: sbin/hammer: Remove redundant volume arg in find_buffer()
Tomohiro Kusumi
tkusumi at crater.dragonflybsd.org
Wed Dec 14 09:37:52 PST 2016
commit af78dcb9f57aa86636efbdc3e4b5795577ed153e
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date: Wed Dec 14 01:50:18 2016 +0900
sbin/hammer: Remove redundant volume arg in find_buffer()
Since buf_offset is (and supposed to be) a canonical zone-2 offset,
the function can retrieve volume_info* via decoded id from offset.
This is also for the next commit.
Summary of changes:
sbin/hammer/ondisk.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/af78dcb9f57aa86636efbdc3e4b5795577ed153e
--
DragonFly BSD source repository
More information about the Commits
mailing list