From: Chris Mason Date: Thu, 31 Jul 2008 13:46:18 +0000 (-0400) Subject: Btrfs: Add missing hunk from Yan Zheng's cache reclaim patch X-Git-Tag: upstream/snapshot3+hdmi~20477^2~11^2~55^2~56^2~30^2~80 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=47ac14fa0f5306c6b97203f4f086bf1fa21dfddb;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git Btrfs: Add missing hunk from Yan Zheng's cache reclaim patch Signed-off-by: Chris Mason --- diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index 37ca8df..4765248 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c @@ -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);