Btrfs-progs: introduce common insert/search/delete functions for rb-tree
authorMiao Xie <miaox@cn.fujitsu.com>
Wed, 3 Jul 2013 13:25:13 +0000 (21:25 +0800)
committerChris Mason <chris.mason@fusionio.com>
Wed, 3 Jul 2013 18:06:54 +0000 (14:06 -0400)
commitd35300269709a0588b3252373c70eb94df7520fe
tree23d456e3f13677ff0dadb16848cdd67d3a55fe44
parent615f2867854c186a37cb2e2e5a2e13e9ed4ab0df
Btrfs-progs: introduce common insert/search/delete functions for rb-tree

In fact, the code of many rb-tree insert/search/delete functions is similar,
so we can abstract them, and implement common functions for rb-tree, and then
simplify them.

Signed-off-by: Miao Xie <miaox@cn.fujitsu.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
btrfs-list.c
cmds-check.c
disk-io.c
disk-io.h
extent-cache.c
extent-cache.h
extent_io.c
rbtree.c
rbtree.h
repair.c
volumes.c