diff options
author | Sergey Bashirov <sergeybashirov@gmail.com> | 2025-07-02 16:32:21 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2025-07-14 15:20:28 -0700 |
commit | 7db6e66663681abda54f81d5916db3a3b8b1a13d (patch) | |
tree | 8a812cf859572840978612cb13d36473355d5b12 /rust/helpers/build_bug.c | |
parent | 81438498a285759f31e843ac4800f82a5ce6521f (diff) |
pNFS: Fix disk addr range check in block/scsi layout
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.
Signed-off-by: Sergey Bashirov <sergeybashirov@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20250702133226.212537-1-sergeybashirov@gmail.com
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'rust/helpers/build_bug.c')
0 files changed, 0 insertions, 0 deletions