Commit 9b06fc7b authored by Joe Thornber's avatar Joe Thornber Committed by Greg Kroah-Hartman

[PATCH] dm: Remove some debug messages

parent c308cc50
...@@ -243,8 +243,6 @@ void table_destroy(struct dm_table *t) ...@@ -243,8 +243,6 @@ void table_destroy(struct dm_table *t)
{ {
unsigned int i; unsigned int i;
DMWARN("destroying table");
/* destroying the table counts as an event */ /* destroying the table counts as an event */
dm_table_event(t); dm_table_event(t);
......
...@@ -589,7 +589,6 @@ static struct mapped_device *alloc_dev(unsigned int minor) ...@@ -589,7 +589,6 @@ static struct mapped_device *alloc_dev(unsigned int minor)
return NULL; return NULL;
} }
DMWARN("allocating minor %d.", minor);
memset(md, 0, sizeof(*md)); memset(md, 0, sizeof(*md));
init_rwsem(&md->lock); init_rwsem(&md->lock);
atomic_set(&md->holders, 1); atomic_set(&md->holders, 1);
...@@ -693,7 +692,6 @@ void dm_get(struct mapped_device *md) ...@@ -693,7 +692,6 @@ void dm_get(struct mapped_device *md)
void dm_put(struct mapped_device *md) void dm_put(struct mapped_device *md)
{ {
if (atomic_dec_and_test(&md->holders)) { if (atomic_dec_and_test(&md->holders)) {
DMWARN("destroying md");
if (!test_bit(DMF_SUSPENDED, &md->flags)) if (!test_bit(DMF_SUSPENDED, &md->flags))
dm_table_suspend_targets(md->map); dm_table_suspend_targets(md->map);
__unbind(md); __unbind(md);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment