summaryrefslogtreecommitdiff
path: root/libbcachefs/move.c
diff options
context:
space:
mode:
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;
}