Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Btrfs: added btrfs_find_all_roots() | Jan Schmidt | 2012-01-04 | 1 | -0/+5 |
| | | | | | | | | | | | | 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> | ||||
* | btrfs: added helper functions to iterate backrefs | Jan Schmidt | 2011-09-29 | 1 | -0/+62 |
These helper functions iterate back references and call a function for each backref. There is also a function to resolve an inode to a path in the file system. Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net> |