From: Lars Ellenberg Date: Mon, 16 May 2011 13:31:45 +0000 (+0200) Subject: drbd: fix potential activity log refcount imbalance in error path X-Git-Tag: v3.0-rc1~162^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76727f684aa2d6a2dc59a7e5cf77e092a1bf4fb6;p=pandora-kernel.git drbd: fix potential activity log refcount imbalance in error path It is no longer sufficient to trigger on local WRITE, we need to check on (rq_state & RQ_IN_ACT_LOG) before calling drbd_al_complete_io also in the error path. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- Reading git-diff-tree failed