HAMMER - Fix extra TAILQ_REMOVE in HAMMER shutdown code.
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 4 Apr 2009 01:35:07 +0000 (18:35 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 4 Apr 2009 01:35:07 +0000 (18:35 -0700)
Caught-by: New assertions in sys/queue.h imported by pavalos.
sys/vfs/hammer/hammer_flusher.c

index d50997c..f6a7fef 100644 (file)
@@ -195,7 +195,6 @@ hammer_flusher_destroy(hammer_mount_t hmp)
                wakeup(&info->runstate);
                while (info->td)
                        tsleep(&info->td, 0, "hmrwwc", 0);
-               TAILQ_REMOVE(&hmp->flusher.ready_list, info, entry);
                kfree(info, hmp->m_misc);
        }
 }