From: Philipp Reisner Date: Mon, 28 Apr 2014 16:43:33 +0000 (+0200) Subject: drbd: Test cstate while holding req_lock X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~47^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=02df6fe145715f1d3858c0c65aed991f148b70b4;p=pandora-kernel.git drbd: Test cstate while holding req_lock In case a connection transitions into C_TIMEOUT within the timer function (request_timer_fn()) we need to make sure that the receiver thread (potentially running on a different CPU) sees the updated cstate later on. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg Signed-off-by: Jens Axboe --- Reading git-diff-tree failed