From: Lars Ellenberg Date: Fri, 3 Aug 2012 23:07:55 +0000 (+0200) Subject: drbd: Fix a potential issue with the DISCARD_CONCURRENT flag X-Git-Tag: v3.8-rc1~78^2~18^2~42 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e959d08d3ef6e48bc3b726bcc07a4ebb9989be94;p=pandora-kernel.git drbd: Fix a potential issue with the DISCARD_CONCURRENT flag The DISCARD_CONCURRENT flag should be set on one node and cleared on the other node. As the code was before it was theoretical possible that a node accepts the meta socket, but has to close it later on, and keeps the DISCARD_CONCURRENT flag. Correct this by moving the clear_bit(DISCARD_CONCURRENT) where the packet gets sent. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- Reading git-diff-tree failed