diff options
author | Jens Axboe <axboe@kernel.dk> | 2021-04-26 11:20:54 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-04-26 11:20:54 -0600 |
commit | 8324fbae75ce65fc2eb960a8434799dca48248ac (patch) | |
tree | d6d9b27500458ee50e6962b4f90341ecc921ae21 /crypto | |
parent | 72ce11ddfa4e9e1879103581a60b7e34547eaa0a (diff) | |
parent | ceaf2966ab082bbc4d26516f97b3ca8a676e2af8 (diff) | |
download | linux-8324fbae75ce65fc2eb960a8434799dca48248ac.tar.bz2 |
Merge branch 'md-next' of https://git.kernel.org/pub/scm/linux/kernel/git/song/md into for-5.13/drivers
Pull MD related fix from Song:
"This change fixes raid5 on POWER8."
* 'md-next' of https://git.kernel.org/pub/scm/linux/kernel/git/song/md:
async_xor: increase src_offs when dropping destination page
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/async_tx/async_xor.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/async_tx/async_xor.c b/crypto/async_tx/async_xor.c index a057ecb1288d..6cd7f7025df4 100644 --- a/crypto/async_tx/async_xor.c +++ b/crypto/async_tx/async_xor.c @@ -233,6 +233,7 @@ async_xor_offs(struct page *dest, unsigned int offset, if (submit->flags & ASYNC_TX_XOR_DROP_DST) { src_cnt--; src_list++; + src_offs++; } /* wait for any prerequisite operations */ |