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 | |
parent | 0ee0fda06b943d7ef65f3cec50ab9d427a2baf97 (diff) | |
download | op-kernel-dev-47ac14fa0f5306c6b97203f4f086bf1fa21dfddb.zip op-kernel-dev-47ac14fa0f5306c6b97203f4f086bf1fa21dfddb.tar.gz |
Btrfs: Add missing hunk from Yan Zheng's cache reclaim patch
Signed-off-by: Chris Mason <chris.mason@oracle.com>
-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 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); |