git: HAMMER - Fix bug in 'hammer cleanup' when deleting snapshot

看板DFBSD_commit作者時間16年前 (2009/10/17 05:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1AsDyJJ9 (DFBSD_commit)