git: hammer2 - Get snapshots working again

Matthew Dillon dillon at crater.dragonflybsd.org
Thu Jul 31 23:05:25 PDT 2014


commit 18e8ab5f976398968084b3866bf90f336260bf28
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Thu Jul 31 23:03:51 2014 -0700

    hammer2 - Get snapshots working again
    
    * Clean up null-pointer dereference panics and sequencing issues when
      creating a snapshot.
    
    * Fix panic on mount if the requested label is not found or is not
      mountable.
    
    * Automatically flush the snapshot before taking and automatically flush
      the super-root entry before returning.

Summary of changes:
 sys/vfs/hammer2/hammer2.h         |  2 +-
 sys/vfs/hammer2/hammer2_cluster.c | 23 +++++++++++++++++++++--
 sys/vfs/hammer2/hammer2_flush.c   | 20 +++++++++++---------
 sys/vfs/hammer2/hammer2_inode.c   |  2 ++
 sys/vfs/hammer2/hammer2_ioctl.c   |  3 ++-
 sys/vfs/hammer2/hammer2_vfsops.c  |  9 +++++----
 6 files changed, 42 insertions(+), 17 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/18e8ab5f976398968084b3866bf90f336260bf28


-- 
DragonFly BSD source repository



More information about the Commits mailing list