]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit350ee0f74bc3c317650b4887f338b6daba6f25d0
tree5c89eba867198cfd7c04e2e1ed978415aa7a3023
parentb60c4f34cab4e6a266b5fc2882c5d1d027af0d78
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