From: Martin K. Petersen Date: Mon, 11 Jan 2010 08:21:47 +0000 (-0500) Subject: block: Correct handling of bottom device misaligment X-Git-Tag: v2.6.33-rc5~8^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe0b393f2c0a0d23a9bc9ed7dc51a1ee511098bd;p=pandora-kernel.git block: Correct handling of bottom device misaligment The top device misalignment flag would not be set if the added bottom device was already misaligned as opposed to causing a stacking failure. Also massage the reporting so that an error is only returned if adding the bottom device caused the misalignment. I.e. don't return an error if the top is already flagged as misaligned. Signed-off-by: Martin K. Petersen Signed-off-by: Jens Axboe --- Reading git-diff-tree failed