summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/data_update.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-09-26 21:49:17 +0200
committerKent Overstreet <kent.overstreet@linux.dev>2024-09-28 03:46:35 +0200
commitcf49f8a8c277f9f2b78e2a56189a741a508a9820 (patch)
tree47edd5af989816a43b6ce3e3c137f6eead0351e7 /fs/bcachefs/data_update.c
parentbcachefs: Don't delete unlinked inodes before logged op resume (diff)
downloadlinux-cf49f8a8c277f9f2b78e2a56189a741a508a9820.tar.xz
linux-cf49f8a8c277f9f2b78e2a56189a741a508a9820.zip
bcachefs: rename version -> bversion
give bversions a more distinct name, to aid in grepping Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/data_update.c')
-rw-r--r--fs/bcachefs/data_update.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/data_update.c b/fs/bcachefs/data_update.c
index 757b9884ef55..462b1a2fe1ad 100644
--- a/fs/bcachefs/data_update.c
+++ b/fs/bcachefs/data_update.c
@@ -639,7 +639,7 @@ int bch2_data_update_init(struct btree_trans *trans,
bch2_write_op_init(&m->op, c, io_opts);
m->op.pos = bkey_start_pos(k.k);
- m->op.version = k.k->version;
+ m->op.version = k.k->bversion;
m->op.target = data_opts.target;
m->op.write_point = wp;
m->op.nr_replicas = 0;