From: Martin K. Petersen Date: Tue, 29 Dec 2009 07:35:35 +0000 (+0100) Subject: block: Fix incorrect alignment offset reporting and update documentation X-Git-Tag: v2.6.33-rc3~40^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81744ee44ab2845c16ffd7d6f762f7b4a49a4750;p=pandora-kernel.git block: Fix incorrect alignment offset reporting and update documentation queue_sector_alignment_offset returned the wrong value which caused partitions to report an incorrect alignment_offset. Since offset alignment calculation is needed several places it has been split into a separate helper function. The topology stacking function has been updated accordingly. Furthermore, comments have been added to clarify how the stacking function works. Signed-off-by: Martin K. Petersen Tested-by: Mike Snitzer Signed-off-by: Jens Axboe --- Reading git-diff-tree failed