]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] md: Avoid oops when attempting to fix read errors on raid10
authorNeilBrown <neilb@suse.de>
Mon, 1 May 2006 19:15:44 +0000 (12:15 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 2 May 2006 01:17:42 +0000 (18:17 -0700)
commit9e287b2c2ff8a4eb8151c69b12398799baa80f0a
treef9ea546b15f0c8908d6248480c7f3dad820a5f5e
parented39a97d52fc3feffcc2949e8b3d989b7ec0d7ea
[PATCH] md: Avoid oops when attempting to fix read errors on raid10

We should add to the counter for the rdev *after* checking if the rdev is
NULL!!!

Signed-off-by: Neil Brown <neilb@suse.de>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/md/raid10.c