bcachefs: Set BTREE_NODE_SEQ() correctly in merge path
authorKent Overstreet <kent.overstreet@gmail.com>
Tue, 22 Feb 2022 22:16:45 +0000 (17:16 -0500)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:25 +0000 (17:09 -0400)
commit6e44568cc311b39613ed292c9dc1dd8cbec86db7
treea790e86b5699a59ea39fcdab6f221024c89c3f5b
parent5838c1702b7d99741273888644a8cd4423b8a440
bcachefs: Set BTREE_NODE_SEQ() correctly in merge path

BTREE_NODE_SEQ() is supposed to give us a time ordering of btree nodes
on disk, so that we can tell which btree node is newer if we ever have
to scan the entire device to find btree nodes.

The btree node merge path wasn't setting it correctly on the new node -
oops.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/btree_update_interior.c