From: Philipp Reisner Date: Wed, 17 Nov 2010 15:54:36 +0000 (+0100) Subject: drbd: Improvements in sanitize_state() X-Git-Tag: v2.6.39-rc1~37^2~92 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ab17b68f4579b460753a416b0afc4446381d876f;p=pandora-kernel.git drbd: Improvements in sanitize_state() The relevant change is that the state change to C_FW_BITMAP_S should implicitly change pdsk to C_CONSISTENT. (Think of it as C_OUTDATED, only without the guarantee that the peer has the outdated written to its meta data) At that opportunity I restructured the switch statement so that it gets evaluated every time. (Has declarative character) Signed-off-by: Philipp Reisner Signed-off-by: Lars Ellenberg --- Reading git-diff-tree failed