From: Jan Schmidt Date: Wed, 23 Nov 2011 17:55:04 +0000 (+0100) Subject: Btrfs: added btrfs_find_all_roots() X-Git-Tag: v3.3-rc1~26^2~10^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8da6d5815c592b713ecaf4f4f8b631f8359c96c4;p=pandora-kernel.git Btrfs: added btrfs_find_all_roots() This function gets a byte number (a data extent), collects all the leafs pointing to it and walks up the trees to find all fs roots pointing to those leafs. It also returns the list of all leafs pointing to that extent. It does proper locking for the involved trees, can be used on busy file systems and honors delayed refs. Signed-off-by: Arne Jansen Signed-off-by: Jan Schmidt --- Reading git-diff-tree failed