btrfs: extended inode ref iteration
authorMark Fasheh <mfasheh@suse.de>
Wed, 8 Aug 2012 18:33:54 +0000 (11:33 -0700)
committerChris Mason <chris.mason@fusionio.com>
Tue, 9 Oct 2012 13:15:01 +0000 (09:15 -0400)
commitd24bec3ae528a47149b838aad76c006d40fe8a39
tree5c89eba867198cfd7c04e2e1ed978415aa7a3023
parentf186373fef005cee948a4a39e6a14c2e5f517298
btrfs: extended inode ref iteration

The iterate_irefs in backref.c is used to build path components from inode
refs. This patch adds code to iterate extended refs as well.

I had modify the callback function signature to abstract out some of the
differences between ref structures. iref_to_path() also needed similar
changes.

Signed-off-by: Mark Fasheh <mfasheh@suse.de>
fs/btrfs/backref.c
fs/btrfs/backref.h