bcache: Have btree_split() insert into parent directly
authorKent Overstreet <kmo@daterainc.com>
Fri, 26 Jul 2013 19:32:38 +0000 (12:32 -0700)
committerKent Overstreet <kmo@daterainc.com>
Mon, 11 Nov 2013 05:56:40 +0000 (21:56 -0800)
The flow control in btree_insert_node() was... fragile... before,
this'll use more stack (but since our btrees are never more than depth
1, that shouldn't matter) and it should be significantly clearer and
less fragile.

Signed-off-by: Kent Overstreet <kmo@daterainc.com>

No differences found