diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-03-27 09:06:38 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2007-03-27 09:06:38 -0400 |
commit | 9a6f11ed8f421fb1cc7b37390e32316ff4701f5d (patch) | |
tree | eb4709b48ddc223669e226b34db2e1a22f9aac86 /fs/btrfs/ctree.c | |
parent | 6407bf6d7c449cbfb0a39d985194e265eda3baf4 (diff) |
Btrfs: split out level field in struct header
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ctree.c')
-rw-r--r-- | fs/btrfs/ctree.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c index b33a6bfaf327..48c611948d11 100644 --- a/fs/btrfs/ctree.c +++ b/fs/btrfs/ctree.c | |||
@@ -753,6 +753,7 @@ static int split_node(struct btrfs_trans_handle *trans, struct btrfs_root | |||
753 | split_buffer = btrfs_alloc_free_block(trans, root); | 753 | split_buffer = btrfs_alloc_free_block(trans, root); |
754 | split = btrfs_buffer_node(split_buffer); | 754 | split = btrfs_buffer_node(split_buffer); |
755 | btrfs_set_header_flags(&split->header, btrfs_header_flags(&c->header)); | 755 | btrfs_set_header_flags(&split->header, btrfs_header_flags(&c->header)); |
756 | btrfs_set_header_level(&split->header, btrfs_header_level(&c->header)); | ||
756 | btrfs_set_header_blocknr(&split->header, split_buffer->b_blocknr); | 757 | btrfs_set_header_blocknr(&split->header, split_buffer->b_blocknr); |
757 | btrfs_set_header_generation(&split->header, trans->transid); | 758 | btrfs_set_header_generation(&split->header, trans->transid); |
758 | btrfs_set_header_parentid(&split->header, | 759 | btrfs_set_header_parentid(&split->header, |