commit | 98cfee214394a3560bd4ce3209b55a71c4267783 | [log] [tgz] |
---|---|---|
author | Wang Shilong <wangsl.fnst@cn.fujitsu.com> | Sat Feb 01 00:42:05 2014 +0800 |
committer | Josef Bacik <jbacik@fb.com> | Mon Mar 10 15:15:41 2014 -0400 |
tree | 504a904635516ddeaf0582489e420b67b2d622fa | |
parent | abccd00f8af27c585be48904515bad5658130e48 [diff] |
Btrfs: only add roots if necessary in find_parent_nodes() find_all_leafs() dosen't need add all roots actually, add roots only if we need, this can avoid unnecessary ulist dance. Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com> Signed-off-by: Josef Bacik <jbacik@fb.com>