git: hammer2 - Fix hammer2 snapshot operation

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Sep 22 09:28:22 PDT 2017


commit 412a77ff8364a46d07a5cab03a981e4c993ffdd9
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Fri Sep 22 09:27:04 2017 -0700

    hammer2 - Fix hammer2 snapshot operation
    
    * Bring the hammer2 snapshot code up-to-date with the pfs-create
      code.
    
    * Fix initial inode number assignment for hammer2 snapshot code (it
      was starting at 1024 which obviously won't work).
    
    * Correct hammer2_vop_ncreate() error code - it was not converting
      the hammer2 error code to a system error code.

Summary of changes:
 sys/vfs/hammer2/hammer2.h       |   4 +-
 sys/vfs/hammer2/hammer2_chain.c | 105 --------------------------------------
 sys/vfs/hammer2/hammer2_ioctl.c | 110 +++++++++++++++++++++++++++++++++++++++-
 sys/vfs/hammer2/hammer2_vnops.c |   4 +-
 4 files changed, 113 insertions(+), 110 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/412a77ff8364a46d07a5cab03a981e4c993ffdd9


-- 
DragonFly BSD source repository


More information about the Commits mailing list