diff options
author | Christoph Hellwig <hch@lst.de> | 2022-04-15 07:52:51 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-04-18 04:49:59 +0300 |
commit | f0f975a4dde890bfe25ce17bf07a6495453988a4 (patch) | |
tree | 0edec9693385e212c0773127b7caba964ee1e312 /block/partitions/ldm.c | |
parent | 4e1462ffe8998749884d61f91be251a7a8719677 (diff) | |
download | linux-f0f975a4dde890bfe25ce17bf07a6495453988a4.tar.xz |
block: use bdev_discard_alignment in part_discard_alignment_show
Use the bdev based alignment helper instead of open coding it.
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-21-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/partitions/ldm.c')
0 files changed, 0 insertions, 0 deletions