From: Lars Ellenberg Date: Thu, 27 Mar 2014 09:34:13 +0000 (+0100) Subject: drbd: clear CRASHED_PRIMARY only after successful resync X-Git-Tag: omap-for-v3.17/fixes-against-rc2~74^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2f2abeae3cd139fb3581249388bf2018612a87e5;p=pandora-kernel.git drbd: clear CRASHED_PRIMARY only after successful resync If we lost a disk during the first resync after primary crash, we could have prematurely cleared the CRASHED_PRIMARY flag. Testing on C_CONNECTED is not what we meant there, but testing for both peers to become D_UP_TO_DATE. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- Reading git-diff-tree failed