commit | 640f2a23911b8388989547f89d055afbb910b88e | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Fri Apr 15 06:52:48 2022 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Sun Apr 17 19:49:59 2022 -0600 |
tree | c52298860b2e43cb1c536d097ae958f3651f9335 | |
parent | 64dcc7c2717395b7c83ffb10f040d3be795d03c1 [diff] |
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>