From: NeilBrown Date: Thu, 14 Nov 2013 04:16:15 +0000 (+1100) Subject: md/raid5.c: add proper locking to error path of raid5_start_reshape. X-Git-Tag: v3.13-rc1~31^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba8805b97320416e7c5bb8f55d2bd06d5c319e7d;p=pandora-kernel.git md/raid5.c: add proper locking to error path of raid5_start_reshape. If raid5_start_reshape errors out, we need to reset all the fields that were updated (not just some), and need to use the seq_counter to ensure make_request() doesn't use an inconsitent state. Signed-off-by: NeilBrown --- Reading git-diff-tree failed