summaryrefslogtreecommitdiffstats
path: root/block/blk-settings.c
diff options
context:
space:
mode:
authorMartin K. Petersen <martin.petersen@oracle.com>2010-01-11 03:21:48 -0500
committerJens Axboe <jens.axboe@oracle.com>2010-01-11 14:29:19 +0100
commitdd3d145d49c5816b79acc6761ebbd842bc50b0ee (patch)
tree107bdb2f46c6aa6bc482909d7ebdbb1da40b7b4f /block/blk-settings.c
parentfe0b393f2c0a0d23a9bc9ed7dc51a1ee511098bd (diff)
downloadlinux-stable-dd3d145d49c5816b79acc6761ebbd842bc50b0ee.tar.gz
linux-stable-dd3d145d49c5816b79acc6761ebbd842bc50b0ee.tar.bz2
linux-stable-dd3d145d49c5816b79acc6761ebbd842bc50b0ee.zip
block: Fix discard alignment calculation and printing
Discard alignment reporting for partitions was incorrect. Update to match the algorithm used elsewhere. The alignment can be negative (misaligned). Fix format string accordingly. Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'block/blk-settings.c')
0 files changed, 0 insertions, 0 deletions