diff options
author | NeilBrown <neilb@suse.de> | 2011-08-30 08:20:17 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-08-30 08:20:17 +0200 |
commit | 7da64a0abc3b2c6cbd3521672e9bb74dd560bb89 (patch) | |
tree | 1b17033fe40a2b29c7e4d6a2f200f54f39514a4d /drivers/ieee802154 | |
parent | md/linear: avoid corrupting structure while waiting for rcu_free to complete. (diff) | |
download | linux-7da64a0abc3b2c6cbd3521672e9bb74dd560bb89.tar.xz linux-7da64a0abc3b2c6cbd3521672e9bb74dd560bb89.zip |
md: fix clearing of 'blocked' flag in the presence of bad blocks.
When the 'blocked' flag on a device is cleared while there are
unacknowledged bad blocks we must fail the device. This is needed for
backwards compatability of the interface.
The code currently uses the wrong test for "unacknowledged bad blocks
exist". Change it to the right test.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/ieee802154')
0 files changed, 0 insertions, 0 deletions