summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-03-24 18:51:01 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2025-03-25 18:49:16 +0300
commit3ba0240a8789f8c059990b81c6f34c29769a5a49 (patch)
tree56cd7536228392bcc3bfc70916e24e9bb73e01eb /scripts/lib/kdoc/kdoc_files.py
parent5af61dbd96275e184adcfe615507b0f04ed7b328 (diff)
downloadlinux-3ba0240a8789f8c059990b81c6f34c29769a5a49.tar.xz
bcachefs: Fix silent short reads in data read retry path
__bch2_read, before calling __bch2_read_extent(), sets bvec_iter.bi_size to "the size we can read from the current extent" with a swap, and restores it to "the size for the total read" after the read_extent call with another swap. But we neglected to do the restore before the "if (ret) goto err;" - which is a problem if we're retrying those errors. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions