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
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1014 bytes
.mailmap -rw-r--r-- 4.1 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.6 KB
Kbuild -rw-r--r-- 2.4 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 196.2 KB
Makefile -rw-r--r-- 52.3 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top