diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2009-07-19 20:43:27 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-07-19 20:43:27 -0700 |
commit | c58a659e521fbb8f590a0b042041555855bf976c (patch) | |
tree | 6627b2b8e3e1a75c306e230999c2e258d14a1620 | |
parent | 49cbf4089ff5c1a26cfda73e69e1eff7e378b706 (diff) |
Revert "dm: sysfs skip output when device is being destroyed"
This reverts commit 9fad9f263a7065be94bf77519346d0d854ff3b92.
It is really commit 4d89b7b4e4726893453d0fb4ddbb5b3e16353994 that is
being reverted here, it's a patch that should not have been applied to
the .27 tree.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/md/dm.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/md/dm.c b/drivers/md/dm.c index 925efafa6a5b..ace998ce59f6 100644 --- a/drivers/md/dm.c +++ b/drivers/md/dm.c @@ -265,10 +265,6 @@ static int dm_blk_open(struct inode *inode, struct file *file) goto out; } - if (test_bit(DMF_FREEING, &md->flags) || - test_bit(DMF_DELETING, &md->flags)) - return NULL; - dm_get(md); atomic_inc(&md->open_count); |