DragonFly commits List (threaded) for 2009-10
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
git: HAMMER - Fix bug in 'hammer cleanup' when deleting snapshots
commit 068da2c2517b670c36ad3865c703fcb2fd9f2e6a
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date: Fri Oct 16 13:45:24 2009 -0700
HAMMER - Fix bug in 'hammer cleanup' when deleting snapshots
* When deleting more then 16 snapshots the dsnapshot.count field was not
being properly cleared, resulting in later ioctls failing.
* Adjust error and warning messages to provide the proper context.
* Do not try to delete meta-data snapshots with a transaction id of 0, just
in case a degenerate softlink is created. The VFS will not allow it
and the ioctl will fail.
Summary of changes:
sbin/hammer/cmd_cleanup.c | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/068da2c2517b670c36ad3865c703fcb2fd9f2e6a
--
DragonFly BSD source repository
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]