[Drbd-dev] [PATCH 16/27] block: use bdev_alignment_offset in part_alignment_offset_show

Chaitanya Kulkarni chaitanyak at nvidia.com
Fri Apr 15 07:43:53 CEST 2022

On 4/14/22 21:52, Christoph Hellwig wrote:
> Replace the open coded offset calculation with the proper helper.
> This is an ABI change in that the -1 for a misaligned partition is
> properly propagated, which can be considered a bug fix and matches
> what is done on the whole device.
> Signed-off-by: Christoph Hellwig <hch at lst.de>
> Reviewed-by: Martin K. Petersen <martin.petersen at oracle.com>
> ---


Looks good.

Reviewed-by: Chaitanya Kulkarni <kch at nvidia.com>


More information about the drbd-dev mailing list