aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-03-07 11:50:24 -0500
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-03-07 11:50:24 -0500
commit037e6390488af8ab96137e1e5cccc15ad14ef887 (patch)
tree8bcde2f20af3b7b0bdb37376d78902d1ea5e74fa /fs/btrfs/ctree.c
parenta28ec19775d62d673b034082128aca95780d3737 (diff)
Btrfs: get rid of add recursion
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ctree.c')
-rw-r--r--fs/btrfs/ctree.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c
index 72816381d203..729d4ddb3746 100644
--- a/fs/btrfs/ctree.c
+++ b/fs/btrfs/ctree.c
@@ -995,15 +995,6 @@ static int split_leaf(struct ctree_root *root, struct ctree_path *path,
995 int ret; 995 int ret;
996 int wret; 996 int wret;
997 997
998 wret = push_leaf_left(root, path, data_size);
999 if (wret < 0)
1000 return wret;
1001 if (wret) {
1002 wret = push_leaf_right(root, path, data_size);
1003 if (wret < 0)
1004 return wret;
1005 }
1006
1007 l_buf = path->nodes[0]; 998 l_buf = path->nodes[0];
1008 l = &l_buf->leaf; 999 l = &l_buf->leaf;
1009 1000