From: Alasdair G Kergon Date: Thu, 9 Nov 2006 01:44:43 +0000 (-0800) Subject: [PATCH] dm: suspend: fix error path X-Git-Tag: v2.6.19-rc6~61 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d287483d6d7a2d5b313aee155285f89b57d9cd4a;p=pandora-kernel.git [PATCH] dm: suspend: fix error path If the device is already suspended, just return the error and skip the code that would incorrectly wipe md->suspended_bdev. (This isn't currently a problem because existing code avoids calling this function if the device is already suspended.) Signed-off-by: Alasdair G Kergon Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed