summaryrefslogtreecommitdiffstats
path: root/kernel/panic.c
diff options
context:
space:
mode:
authorMartin K. Petersen <martin.petersen@oracle.com>2009-12-21 15:55:51 +0100
committerJens Axboe <jens.axboe@oracle.com>2009-12-21 15:55:51 +0100
commit9504e0864b58b4a304820dcf3755f1da80d5e72f (patch)
tree1e5bc5e7b2c57b343fab13709178be3aff6f477e /kernel/panic.c
parent65b32a573eefa1cdd3cbe5ea59326308e6c3b9ad (diff)
downloadlinux-9504e0864b58b4a304820dcf3755f1da80d5e72f.tar.gz
linux-9504e0864b58b4a304820dcf3755f1da80d5e72f.tar.bz2
linux-9504e0864b58b4a304820dcf3755f1da80d5e72f.zip
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 <martin.petersen@oracle.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'kernel/panic.c')
0 files changed, 0 insertions, 0 deletions