From: Qu Wenruo Date: Mon, 30 Mar 2015 09:03:00 +0000 (+0800) Subject: btrfs: delayed-ref: Use list to replace the ref_root in ref_head. X-Git-Tag: omap-for-v4.2/fixes-rc1^2~69^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6fc24549960f26910cd0c6e4b5f48f2f306b11d;p=pandora-kernel.git btrfs: delayed-ref: Use list to replace the ref_root in ref_head. This patch replace the rbtree used in ref_head to list. This has the following advantage: 1) Easier merge logic. With the new list implement, we only need to care merging the tail ref_node with the new ref_node. And this can be done quite easy at insert time, no need to do a indicated merge at run_delayed_refs(). Signed-off-by: Qu Wenruo Signed-off-by: Chris Mason --- Reading git-diff-tree failed