[PATCH 6/7] dm: Remove some debug messages

Joe Thornber (thornber@sistina.com)
Mon, 9 Jun 2003 15:37:39 +0100


Remove some debug messages.
--- diff/drivers/md/dm-table.c 2003-06-09 15:05:13.000000000 +0100
+++ source/drivers/md/dm-table.c 2003-06-09 15:06:29.000000000 +0100
@@ -243,8 +243,6 @@
{
unsigned int i;

- DMWARN("destroying table");
-
/* destroying the table counts as an event */
dm_table_event(t);

--- diff/drivers/md/dm.c 2003-06-09 15:05:08.000000000 +0100
+++ source/drivers/md/dm.c 2003-06-09 15:05:35.000000000 +0100
@@ -588,7 +588,6 @@
return NULL;
}

- DMWARN("allocating minor %d.", minor);
memset(md, 0, sizeof(*md));
init_rwsem(&md->lock);
atomic_set(&md->holders, 1);
@@ -692,7 +691,6 @@
void dm_put(struct mapped_device *md)
{
if (atomic_dec_and_test(&md->holders)) {
- DMWARN("destroying md");
if (!test_bit(DMF_SUSPENDED, &md->flags))
dm_table_suspend_targets(md->map);
__unbind(md);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/