From: Philipp Reisner Date: Mon, 17 Jan 2011 14:14:26 +0000 (+0100) Subject: drbd: Killed an assert that is no longer valid X-Git-Tag: v2.6.39-rc1~37^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94f2b05f03fbc605f83ae501682c85ff4535bb6d;p=pandora-kernel.git drbd: Killed an assert that is no longer valid The point is that drbd_disconnect() can be called with a cstate of WFConnection. That happens if the user issues "drbdsetup disconnect" while the drbd_connect() function executes. Then drbdd_init() will call drbdd(), which in turn will return without receiving any packets. Then drbdd_init() will end up calling drbd_disconnect() with a cstate of WFConnection. Bottom line: This assertion is wrong as it is, and we do not see value in fixing it. => Removing it. Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- Reading git-diff-tree failed