git: HAMMER utility - Fix bug in hammer cleanup which causes the utility to exit

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Jan 10 16:20:29 PST 2010


commit 5d56fcbc0d6cf2ff3f0ce0305d95bd3ae16e2a5f
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Jan 10 16:17:47 2010 -0800

    HAMMER utility - Fix bug in hammer cleanup which causes the utility to exit
    
    * Remove debugging code which exit()ed when unable to delete a snapshot
      softlink.  This caused 'hammer cleanup' to potentially not process all
      available HAMMER filesystems, amoung other things.
    
    * Rework the snapshot deletion code to skip any snapshots that cannot be
      deleted.

Summary of changes:
 sbin/hammer/cmd_cleanup.c |   56 ++++++++++++++++++++++++++------------------
 1 files changed, 33 insertions(+), 23 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5d56fcbc0d6cf2ff3f0ce0305d95bd3ae16e2a5f


-- 
DragonFly BSD source repository





More information about the Commits mailing list