diff options
author | Christoph Hellwig <hch@lst.de> | 2022-04-15 06:52:48 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-04-17 19:49:59 -0600 |
commit | 640f2a23911b8388989547f89d055afbb910b88e (patch) | |
tree | c52298860b2e43cb1c536d097ae958f3651f9335 /block/blk-settings.c | |
parent | 64dcc7c2717395b7c83ffb10f040d3be795d03c1 (diff) | |
download | linux-640f2a23911b8388989547f89d055afbb910b88e.tar.gz |
block: use bdev_alignment_offset in disk_alignment_offset_show
This does the same as the open coded variant except for an extra branch,
and allows to remove queue_alignment_offset entirely.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20220415045258.199825-18-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-settings.c')
0 files changed, 0 insertions, 0 deletions