git: hammer2 - error handling 1/N (chain_scan)
Matthew Dillon
dillon at crater.dragonflybsd.org
Wed Aug 30 22:19:11 PDT 2017
commit 1e2c820891f23a16617f9007385efc729c932790
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Wed Aug 30 18:46:14 2017 -0700
hammer2 - error handling 1/N (chain_scan)
* Make HAMMER2_ERROR_* bit flags so they can be OR'd together.
* Change hammer2_chain_scan() to return an error code instead of the
passed-in bref pointer.
* Adjust the vfsops recovery scan and bulkfree to the new API.
Summary of changes:
sys/vfs/hammer2/hammer2.h | 41 ++++++++++++-----
sys/vfs/hammer2/hammer2_bulkfree.c | 93 +++++++++++++++++++++-----------------
sys/vfs/hammer2/hammer2_chain.c | 43 ++++++++++++------
sys/vfs/hammer2/hammer2_ioctl.c | 2 +-
sys/vfs/hammer2/hammer2_subr.c | 2 +-
sys/vfs/hammer2/hammer2_vfsops.c | 49 ++++++++++++--------
6 files changed, 144 insertions(+), 86 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1e2c820891f23a16617f9007385efc729c932790
--
DragonFly BSD source repository
More information about the Commits
mailing list