]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
Btrfs: only add roots if necessary in find_parent_nodes()
authorWang Shilong <wangsl.fnst@cn.fujitsu.com>
Fri, 31 Jan 2014 16:42:05 +0000 (00:42 +0800)
committerJosef Bacik <jbacik@fb.com>
Mon, 10 Mar 2014 19:15:41 +0000 (15:15 -0400)
commit98cfee214394a3560bd4ce3209b55a71c4267783
tree504a904635516ddeaf0582489e420b67b2d622fa
parentabccd00f8af27c585be48904515bad5658130e48
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>
fs/btrfs/backref.c