git: hammer2 - error handling 2/N (chain_lookup/chain_next)

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Aug 30 22:19:12 PDT 2017


commit c8c0a18a66946d3ec5fd24de73f593da9c4af6ba
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Aug 30 22:11:46 2017 -0700

    hammer2 - error handling 2/N (chain_lookup/chain_next)
    
    * Implement error handling for hammer2_chain_lookup() and
      hammer2_chain_next().
    
    * Shim use cases for this commit.  Ultimately the intent is to
      convert the entire error path to HAMMER2_ERROR_* codes.

Summary of changes:
 sys/vfs/hammer2/hammer2.h          |   4 +-
 sys/vfs/hammer2/hammer2_bulkfree.c |  46 ++---
 sys/vfs/hammer2/hammer2_chain.c    |  33 +++-
 sys/vfs/hammer2/hammer2_freemap.c  |   6 +-
 sys/vfs/hammer2/hammer2_inode.c    |  26 ++-
 sys/vfs/hammer2/hammer2_iocom.c    |   8 +-
 sys/vfs/hammer2/hammer2_ioctl.c    |  19 +-
 sys/vfs/hammer2/hammer2_strategy.c |  25 ++-
 sys/vfs/hammer2/hammer2_synchro.c  | 355 +++++++++++++++++++------------------
 sys/vfs/hammer2/hammer2_vfsops.c   |  42 +++--
 sys/vfs/hammer2/hammer2_xops.c     | 115 +++++++-----
 11 files changed, 398 insertions(+), 281 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c8c0a18a66946d3ec5fd24de73f593da9c4af6ba


-- 
DragonFly BSD source repository



More information about the Commits mailing list