From: Philipp Reisner Date: Tue, 28 Aug 2012 09:33:35 +0000 (+0200) Subject: drbd: Fix the way the STATE_SENT bit is cleared X-Git-Tag: v3.8-rc1~78^2~18^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=797020117761eee21ef284cea90c51c690fca169;p=pandora-kernel.git drbd: Fix the way the STATE_SENT bit is cleared With merging the commit 'drbd: Delay/reject other state changes while establishing a connection' the condition check for clearing the flag was wrong. Move the bit clearing to the __drbd_set_state() function in order to have it already cleared for the other parts of the function. I.e. clearing the susp_fen in the after_state_ch() function. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- Reading git-diff-tree failed