diff options
| author | Bart Van Assche <[email protected]> | 2025-05-14 20:50:33 +0000 |
|---|---|---|
| committer | Mikulas Patocka <[email protected]> | 2025-05-15 13:55:07 +0000 |
| commit | 241b9b584d50e01f7eb50c0555aa570502bcc8c5 (patch) | |
| tree | f2d9a2322378294eae2b5fe6babbbb1f66437adf /rust/helpers/platform.c | |
| parent | dm vdo indexer: don't read request structure after enqueuing (diff) | |
| download | kernel-241b9b584d50e01f7eb50c0555aa570502bcc8c5.tar.gz kernel-241b9b584d50e01f7eb50c0555aa570502bcc8c5.zip | |
dm-zone: Use bdev_*() helper functions where applicable
Improve code readability by using bdev_is_zone_aligned() and
bdev_offset_from_zone_start() where applicable. No functionality
has been changed.
This patch is a reworked version of a patch from Pankaj Raghav.
See also https://lore.kernel.org/linux-block/[email protected]/.
Cc: Damien Le Moal <[email protected]>
Cc: Pankaj Raghav <[email protected]>
Signed-off-by: Bart Van Assche <[email protected]>
Reviewed-by: Damien Le Moal <[email protected]>
Signed-off-by: Mikulas Patocka <[email protected]>
Diffstat (limited to 'rust/helpers/platform.c')
0 files changed, 0 insertions, 0 deletions
