summaryrefslogtreecommitdiff
path: root/include/linux/unaligned/be_byteshift.h
diff options
context:
space:
mode:
authorNaveen Kumar Chaudhary <[email protected]>2026-06-26 09:15:42 +0530
committerTom Rini <[email protected]>2026-07-10 15:50:48 -0600
commitdc3606a961fae711e51d0ec9e0cff7999b62ab2b (patch)
tree66e78362ded0931ad93bf46aa714186082827a31 /include/linux/unaligned/be_byteshift.h
parentb1d083e444798e5dd5cbb703eabfdeaf5f9294c7 (diff)
cmd: clone: report destination block number on dest write error
The error path of the destination blk_dwrite() prints srcblk, which refers to the source device's block counter and is unrelated to the write that just failed. This produces misleading diagnostics that point at the wrong block on the wrong device when a clone aborts on a write error. Print destblk so the message identifies the block that actually failed, mirroring the existing "Src read error @blk %ld" message above which correctly uses srcblk. Fixes: 4a4830cf915 ("cmd: add clone command") Signed-off-by: Naveen Kumar Chaudhary <[email protected]>
Diffstat (limited to 'include/linux/unaligned/be_byteshift.h')
0 files changed, 0 insertions, 0 deletions