]> git.openpandora.org Git - pandora-kernel.git/commitdiff
md: Add judgement bb->unacked_exist in function md_ack_all_badblocks().
authormajianpeng <majianpeng@gmail.com>
Mon, 19 Mar 2012 01:46:42 +0000 (12:46 +1100)
committerNeilBrown <neilb@suse.de>
Mon, 19 Mar 2012 01:46:42 +0000 (12:46 +1100)
If there are no unacked bad blocks, then there is no point searching
for them to acknowledge them.

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

diff --cc drivers/md/md.c
Simple merge