From: Lars Ellenberg Date: Sun, 24 Apr 2011 18:52:20 +0000 (+0200) Subject: drbd: move comment about stopping the receiver thread to where it belongs X-Git-Tag: v3.8-rc1~78^2~18^2~258 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5e2b8b3b6bed8c60103b4ed5341af072129d7c0;p=pandora-kernel.git drbd: move comment about stopping the receiver thread to where it belongs When the last volume of a replication group is unconfigured, the worker thread exits. To not interfere with cleanup of other threads, before the the last cleanups run, we need to make sure the receiver has already exited. The commend explaining that clearly belongs above drbd_thread_stop(&tconn->receiver), not in the cleanup loop below. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- Reading git-diff-tree failed