From: Milan Broz Date: Mon, 22 Jun 2009 09:12:11 +0000 (+0100) Subject: dm: sysfs skip output when device is being destroyed X-Git-Tag: v2.6.27.26~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fad9f263a7065be94bf77519346d0d854ff3b92;p=pandora-kernel.git dm: sysfs skip output when device is being destroyed commit 4d89b7b4e4726893453d0fb4ddbb5b3e16353994 upstream. Do not process sysfs attributes when device is being destroyed. Otherwise code can cause BUG_ON(test_bit(DMF_FREEING, &md->flags)); in dm_put() call. Signed-off-by: Milan Broz Signed-off-by: Alasdair G Kergon Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed