diff options
author | Christoph Hellwig <hch@lst.de> | 2022-04-15 06:52:51 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-04-17 19:49:59 -0600 |
commit | f0f975a4dde890bfe25ce17bf07a6495453988a4 (patch) | |
tree | 0edec9693385e212c0773127b7caba964ee1e312 /block/blk-settings.c | |
parent | 4e1462ffe8998749884d61f91be251a7a8719677 (diff) | |
download | lwn-f0f975a4dde890bfe25ce17bf07a6495453988a4.tar.gz lwn-f0f975a4dde890bfe25ce17bf07a6495453988a4.zip |
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/blk-settings.c')
0 files changed, 0 insertions, 0 deletions