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:
Chris Mason 2008-07-31 09:46:18 -04:00
parent 0ee0fda06b
commit 47ac14fa0f

View file

@ -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);