From: Philipp Reisner Date: Fri, 3 Aug 2012 13:14:04 +0000 (+0200) Subject: drbd: Fix a potential issue with the DISCARD_CONCURRENT flag X-Git-Tag: v3.8-rc1~78^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c12a3d8c84a5e9913a97ca5e6513c913a7e5b288;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 Signed-off-by: Jens Axboe --- Reading git-diff-tree failed