diff options
-rw-r--r-- | check/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/check/main.c b/check/main.c index 3190b5d4..2a74e7d2 100644 --- a/check/main.c +++ b/check/main.c @@ -8163,7 +8163,7 @@ again: leaf = path.nodes[0]; slot = path.slots[0]; if (slot >= btrfs_header_nritems(path.nodes[0])) { - ret = btrfs_next_leaf(root, &path); + ret = btrfs_next_leaf(fs_info->tree_root, &path); if (ret != 0) break; leaf = path.nodes[0]; |