Btrfs: Add missing hunk from Yan Zheng's cache reclaim patch
Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
parent
0ee0fda06b
commit
47ac14fa0f
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue