diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-07-31 09:46:18 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:04:05 -0400 |
commit | 47ac14fa0f5306c6b97203f4f086bf1fa21dfddb (patch) | |
tree | 1676331b4d85f9b90b456a51474e3bbf5e7dbb2c /fs | |
parent | 0ee0fda06b943d7ef65f3cec50ab9d427a2baf97 (diff) |
Btrfs: Add missing hunk from Yan Zheng's cache reclaim patch
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/btrfs/extent-tree.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index 37ca8df30c30..4765248000fd 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, | |||
1054 | goto out; | 1054 | goto out; |
1055 | } | 1055 | } |
1056 | 1056 | ||
1057 | ref->root_gen = root->root_key.offset; | ||
1057 | ref->bytenr = buf->start; | 1058 | ref->bytenr = buf->start; |
1058 | ref->owner = btrfs_header_owner(buf); | 1059 | ref->owner = btrfs_header_owner(buf); |
1059 | ref->generation = btrfs_header_generation(buf); | 1060 | ref->generation = btrfs_header_generation(buf); |