]> git.baikalelectronics.ru Git - kernel.git/commit
md: remove ro check in md_check_recovery()
authorNamhyung Kim <namhyung@gmail.com>
Wed, 27 Jul 2011 01:00:36 +0000 (11:00 +1000)
committerNeilBrown <neilb@suse.de>
Wed, 27 Jul 2011 01:00:36 +0000 (11:00 +1000)
commit0a66ff5cec50af2e14cb34088a5619d3e5753845
treeac10604e2b0e3525c25c6fb23128ab1fc858a550
parent9db1b7194376c37d68cad08ac36bc86f53c7c8c3
md: remove ro check in md_check_recovery()

Commit 9d053efdfbe6 ("Allow faulty devices to be removed from a
readonly array.") added some work on ro array in the function,
but it couldn't be done since we didn't allow the ro array to be
handled from the beginning. Fix it.

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/md.c