]> git.baikalelectronics.ru Git - 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)
commitb2065232c3440d7182d6e0d1571b4f5735a766c3
tree504a904635516ddeaf0582489e420b67b2d622fa
parent44eb60bc4e97ee003d25c301ea8c3fa6c47b61ed
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