From: Martin K. Petersen Date: Mon, 21 Dec 2009 14:55:51 +0000 (+0100) Subject: block: Fix topology stacking for data and discard alignment X-Git-Tag: v2.6.33-rc3~40^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9504e0864b58b4a304820dcf3755f1da80d5e72f;p=pandora-kernel.git block: Fix topology stacking for data and discard alignment The stacking code incorrectly scaled up the data offset in some cases causing misaligned devices to report alignment. Rewrite the stacking algorithm to remedy this and apply the same alignment principles to the discard handling. Signed-off-by: Martin K. Petersen Signed-off-by: Jens Axboe --- Reading git-diff-tree failed