btrfs: added helper functions to iterate backrefs
commita542ad1bafc7df9fc16de8a6894b350a4df75572
authorJan Schmidt <list.btrfs@jan-o-sch.net>
Mon, 13 Jun 2011 17:52:59 +0000 (13 19:52 +0200)
committerJan Schmidt <list.btrfs@jan-o-sch.net>
Thu, 29 Sep 2011 10:54:27 +0000 (29 12:54 +0200)
treeece4cabbed85ceea326233735134863b2feec0e6
parent0a7a0519d1789f3a222849421dbe91b6bddb88f5
btrfs: added helper functions to iterate backrefs

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>
fs/btrfs/Makefile
fs/btrfs/backref.c [new file with mode: 0644]
fs/btrfs/backref.h [new file with mode: 0644]
fs/btrfs/ioctl.h