Re: [PATCH] pNFS: Fix disk addr range check in block/scsi layout
From: Christoph Hellwig
Date: Thu Jul 03 2025 - 09:07:21 EST
On Wed, Jul 02, 2025 at 04:32:21PM +0300, Sergey Bashirov wrote:
> At the end of the isect translation, disc_addr represents the physical
> disk offset. Thus, end calculated from disk_addr is also a physical disk
> offset. Therefore, range checking should be done using map->disk_offset,
> not map->start.
Looks good:
Reviewed-by: Christoph Hellwig <hch@xxxxxx>