commit | ab904d634625ef8dc590240b7ee06c7b724e636b | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@cse.unsw.edu.au> | Fri Sep 09 16:23:52 2005 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Fri Sep 09 16:39:11 2005 -0700 |
tree | 3ecd6a17dd99f2f1879b3e1fed58f52e6d35633c | |
parent | 71c0805cb48462c99fbe0e5fcc6c12d7b9929c09 [diff] |
[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 <neilb@cse.unsw.edu.au> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>