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

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Jan 11 20:58:42 PST 2010


commit ec2aa11dba2a5046a11e027db84799925e78e3dc
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/ec2aa11dba2a5046a11e027db84799925e78e3dc


-- 
DragonFly BSD source repository





More information about the Commits mailing list