summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-03-25 18:40:35 +0300
committerKent Overstreet <kent.overstreet@linux.dev>2025-03-25 18:40:35 +0300
commit5af61dbd96275e184adcfe615507b0f04ed7b328 (patch)
treedf894b7ef8d64073045b6df92518a79b548b10a2 /scripts/lib/kdoc/kdoc_files.py
parentd8bdc8daac1d1b0a4efb1ecc69bef4eb4fc5e050 (diff)
downloadlinux-5af61dbd96275e184adcfe615507b0f04ed7b328.tar.xz
bcachefs: Fix nonce inconsistency in bch2_write_prep_encoded_data()
If we're moving an extent that was partially overwritten, bch2_write_rechecksum() will trim it to the currenty live range. If we then also want to compress it, it'll be decrypted - but the nonce has been advanced for the overwritten start of the extent that we dropped, and we were using the nonce we calculated before rechecksum(). Reported-by: Gabriel de Perthuis <g2p.code@gmail.com> Fixes: 127d90d2823e ("bcachefs: bch2_write_prep_encoded_data() now returns errcode") 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