From c4603e35d7ce22de3b73315795843bf64d5c60e4 Mon Sep 17 00:00:00 2001 From: Chris Mason Date: Fri, 14 Dec 2007 11:00:30 -0500 Subject: Verify extent back references in btrfsck --- disk-io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'disk-io.c') diff --git a/disk-io.c b/disk-io.c index da654918..c401e3fb 100644 --- a/disk-io.c +++ b/disk-io.c @@ -279,7 +279,7 @@ int btrfs_commit_transaction(struct btrfs_trans_handle *trans, struct return 0; memcpy(&snap_key, &root->root_key, sizeof(snap_key)); - root->root_key.offset++; + root->root_key.offset = trans->transid; btrfs_set_root_bytenr(&root->root_item, root->node->bytenr); root->root_item.level = -- cgit v1.2.3