diff mbox

Just inform and dont warn when DM_DEV_REMOVE is tried on a open device

Message ID 201004201246.58828.knikanth@suse.de (mailing list archive)
State Rejected, archived
Delegated to: Alasdair Kergon
Headers show

Commit Message

Nikanth Karthikesan April 20, 2010, 7:16 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/md/dm-ioctl.c b/drivers/md/dm-ioctl.c
index d7500e1..dcfa48a 100644
--- a/drivers/md/dm-ioctl.c
+++ b/drivers/md/dm-ioctl.c
@@ -729,7 +729,7 @@  static int dev_remove(struct dm_ioctl *param, size_t param_size)
 	 */
 	r = dm_lock_for_deletion(md);
 	if (r) {
-		DMWARN("unable to remove open device %s", hc->name);
+		DMINFO("unable to remove open device %s", hc->name);
 		up_write(&_hash_lock);
 		dm_put(md);
 		return r;