git: sys/vfs/hammer: Remove validate_zone()
Tomohiro Kusumi
tkusumi at crater.dragonflybsd.org
Fri Jul 1 07:59:52 PDT 2016
commit 66d704afac703954e37e0af483591bc19224fb3c
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date: Sun Jun 26 01:35:00 2016 +0900
sys/vfs/hammer: Remove validate_zone()
Code becomes less clear with this function and usage of sum of results.
Just check if the given offsets are data zones or not (unless we plan
to support non-data zones, but we don't).
Summary of changes:
sys/vfs/hammer/hammer_dedup.c | 24 ++++--------------------
sys/vfs/hammer/hammer_disk.h | 2 ++
2 files changed, 6 insertions(+), 20 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/66d704afac703954e37e0af483591bc19224fb3c
--
DragonFly BSD source repository
More information about the Commits
mailing list