]> git.karo-electronics.de Git - karo-tx-linux.git/commit
btrfs: extended inode refs
authorMark Fasheh <mfasheh@suse.de>
Wed, 8 Aug 2012 18:33:54 +0000 (11:33 -0700)
committerChris Mason <chris.mason@fusionio.com>
Mon, 1 Oct 2012 19:19:33 +0000 (15:19 -0400)
commit23a22f6e21a78cf3af694f1291d0a094be4c02cf
tree076aab08e419b594e29adcd7d57b3d7d6bca3fc5
parent163f31ec0eeefa62ae285c730e15712770b4118d
btrfs: extended inode refs

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.

Reviewed-by: Jan Schmidt <list.btrfs@jan-o-sch.net>
Signed-off-by: Mark Fasheh <mfasheh@suse.de>
fs/btrfs/backref.c
fs/btrfs/backref.h