summaryrefslogtreecommitdiff
path: root/arch/x86
diff options
context:
space:
mode:
authorMartin K. Petersen <martin.petersen@oracle.com>2010-01-15 01:55:07 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2010-01-22 15:18:07 -0800
commit1bd24fdff4b0bd7f0a50f330165a82be690a919c (patch)
tree785103386aa3646173a10d1b017fe857804fa521 /arch/x86
parent8a9c3f5c34a93fd4635aa739810280c4752eaa6e (diff)
block: Fix incorrect reporting of partition alignment
commit 81744ee44ab2845c16ffd7d6f762f7b4a49a4750 upstream queue_sector_alignment_offset returned the wrong value which caused partitions to report an incorrect alignment_offset. Since offset calculation is needed several places it has been split into a separate helper function. Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Tested-by: Mike Snitzer <snitzer@redhat.com> Cc: Jens Axboe <jens.axboe@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'arch/x86')
0 files changed, 0 insertions, 0 deletions