summaryrefslogtreecommitdiff
path: root/libbcachefs/move.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2021-09-21 20:49:08 -0400
committerKent Overstreet <kent.overstreet@gmail.com>2021-09-21 20:49:08 -0400
commit08802949e2601a1334cd1b600a1c3bec10f5cdb3 (patch)
tree4c9bba04702ada4afa31350cddf8611eba5a9ea3 /libbcachefs/move.c
parent2b8c1bb0910534e8687ea3e5abf6d8bbba758247 (diff)
Update bcachefs sources to bd6ed9fb42 fixup! bcachefs: Fix initialization of bch_write_op.nonce
Diffstat (limited to 'libbcachefs/move.c')
-rw-r--r--libbcachefs/move.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbcachefs/move.c b/libbcachefs/move.c
index fb7c0abd..7001e3cd 100644
--- a/libbcachefs/move.c
+++ b/libbcachefs/move.c
@@ -263,7 +263,7 @@ int bch2_migrate_write_init(struct bch_fs *c, struct migrate_write *m,
*/
bkey_for_each_crc(k.k, ptrs, crc, entry)
if (bch2_csum_type_is_encryption(crc.csum_type)) {
- m->op.nonce = crc.nonce + m->op.crc.offset;
+ m->op.nonce = crc.nonce + crc.offset;
m->op.csum_type = crc.csum_type;
break;
}