https://github.com/torvalds/linux
Revision 7da64a0abc3b2c6cbd3521672e9bb74dd560bb89 authored by NeilBrown on 30 August 2011, 06:20:17 UTC, committed by NeilBrown on 30 August 2011, 06:20:17 UTC
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>
1 parent 1b6afa1
History
Tip revision: 7da64a0abc3b2c6cbd3521672e9bb74dd560bb89 authored by NeilBrown on 30 August 2011, 06:20:17 UTC
md: fix clearing of 'blocked' flag in the presence of bad blocks.
Tip revision: 7da64a0
File Mode Size
Makefile -rw-r--r-- 145 bytes
core.c -rw-r--r-- 160.3 KB
hw_breakpoint.c -rw-r--r-- 15.5 KB
internal.h -rw-r--r-- 2.3 KB
ring_buffer.c -rw-r--r-- 7.8 KB

back to top