diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-07-31 15:46:18 +0200 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 17:04:05 +0200 |
commit | 47ac14fa0f5306c6b97203f4f086bf1fa21dfddb (patch) | |
tree | 1676331b4d85f9b90b456a51474e3bbf5e7dbb2c /fs | |
parent | Btrfs: Add compatibility for kernels >= 2.6.27-rc1 (diff) | |
download | linux-47ac14fa0f5306c6b97203f4f086bf1fa21dfddb.tar.xz linux-47ac14fa0f5306c6b97203f4f086bf1fa21dfddb.zip |
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, 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); |