Commit 47ac14fa authored by Chris Mason's avatar Chris Mason

Btrfs: Add missing hunk from Yan Zheng's cache reclaim patch

Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
parent 0ee0fda0
......@@ -1054,6 +1054,7 @@ int btrfs_inc_ref(struct btrfs_trans_handle *trans, struct btrfs_root *root,
goto out;
}
ref->root_gen = root->root_key.offset;
ref->bytenr = buf->start;
ref->owner = btrfs_header_owner(buf);
ref->generation = btrfs_header_generation(buf);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment