From: NeilBrown Date: Fri, 9 Sep 2005 23:23:52 +0000 (-0700) Subject: [PATCH] md: fix bitmap/read_sb_page so that it handles errors properly. X-Git-Tag: v2.6.14-rc1~241 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab904d634625ef8dc590240b7ee06c7b724e636b;p=pandora-kernel.git [PATCH] md: fix bitmap/read_sb_page so that it handles errors properly. read_sb_page() assumed that if sync_page_io fails, the device would be marked faultly. However it isn't. So in the face of error, read_sb_page would loop forever. Redo the logic so that this cannot happen. Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed