summaryrefslogtreecommitdiff
path: root/fs/btrfs/scrub.c
diff options
context:
space:
mode:
authorJan Schmidt <list.btrfs@jan-o-sch.net>2011-11-23 21:55:04 +0400
committerJan Schmidt <list.btrfs@jan-o-sch.net>2012-01-04 19:26:38 +0400
commit8da6d5815c592b713ecaf4f4f8b631f8359c96c4 (patch)
tree1dac6f55dd37193eee821b9d29ff59ee61edb853 /fs/btrfs/scrub.c
parenta168650c08300434e1456abe7b6451f1448230d3 (diff)
downloadlinux-8da6d5815c592b713ecaf4f4f8b631f8359c96c4.tar.xz
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 <sensille@gmx.net> Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
Diffstat (limited to 'fs/btrfs/scrub.c')
0 files changed, 0 insertions, 0 deletions