author: Linus Torvalds <torvalds@linux-foundation.org> 2021-04-28 14:39:37 -0700
committer: Linus Torvalds <torvalds@linux-foundation.org> 2021-04-28 14:39:37 -0700
commit: fc0586062816559defb14c947319ef8c4c326fb3
parent: 6c0029211382011af508273c4fc98a732f841d95
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 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 */