From: Kiyoshi Ueda Date: Thu, 10 Dec 2009 23:52:26 +0000 (+0000) Subject: dm: swap target postsuspend call and setting suspended flag X-Git-Tag: v2.6.33-rc1~75^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d4471cb5c1ec426c0f24818b270dc7b3ad7e655;p=pandora-kernel.git dm: swap target postsuspend call and setting suspended flag This patch moves DMF_SUSPENDED flag set before postsuspend. No one should care about the ordering, because the flag set and the postsuspend are protected by a single lock, md->suspend_lock, and all strict flag-checkers take the lock. Signed-off-by: Kiyoshi Ueda Signed-off-by: Jun'ichi Nomura Cc: Mike Anderson Signed-off-by: Alasdair G Kergon --- Reading git-diff-tree failed