diff options
author | Milan Broz <mbroz@redhat.com> | 2009-06-22 10:12:11 +0100 |
---|---|---|
committer | Alasdair G Kergon <agk@redhat.com> | 2009-06-22 10:12:11 +0100 |
commit | 4d89b7b4e4726893453d0fb4ddbb5b3e16353994 (patch) | |
tree | f0775811ee4942eadd555d5ddcdbb5ff313290bb /mm/migrate.c | |
parent | e094f4f15f5169526c7200b9bde44b900548a81e (diff) | |
download | lwn-4d89b7b4e4726893453d0fb4ddbb5b3e16353994.tar.gz lwn-4d89b7b4e4726893453d0fb4ddbb5b3e16353994.zip |
dm: sysfs skip output when device is being destroyed
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.
Cc: stable@kernel.org
Signed-off-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
Diffstat (limited to 'mm/migrate.c')
0 files changed, 0 insertions, 0 deletions