From: Philipp Reisner Date: Mon, 3 Sep 2012 13:39:01 +0000 (+0200) Subject: drbd: Fix comparison of is_valid_transition()'s return code X-Git-Tag: v3.8-rc1~78^2~18^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3025a273700fc51dd561c7b2941f3c9db9be90a;p=pandora-kernel.git drbd: Fix comparison of is_valid_transition()'s return code is_valid_transition() might return SS_NOTHING_TO_DO. The condition function _req_st_cond() returned SS_NOTHING_TO_DO, which caused the wait_event to abort too early. Therefore drbd_req_state() did not consume the next CL_ST_CHG_SUCCESS or SS_CW_FAILED_BY_PEER causing serve disruption of the state machine logic... Detaching from a single volue was one way to trigger this bug. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- Reading git-diff-tree failed