[PATCH] md: remove possible oops in md/raid1
When we get a pointer and check it is non-null, we should not get the pointer again but should instead use the pointer we got in the first place... 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>
Showing
Please register or sign in to comment