diff options
author | Mark Fasheh <mfasheh@suse.de> | 2012-08-08 14:33:54 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2012-10-09 09:15:01 -0400 |
commit | d24bec3ae528a47149b838aad76c006d40fe8a39 (patch) | |
tree | 5c89eba867198cfd7c04e2e1ed978415aa7a3023 /fs/btrfs/backref.h | |
parent | f186373fef005cee948a4a39e6a14c2e5f517298 (diff) |
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>
Diffstat (limited to 'fs/btrfs/backref.h')
-rw-r--r-- | fs/btrfs/backref.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/backref.h b/fs/btrfs/backref.h index 0b920c113952..e75533043a5f 100644 --- a/fs/btrfs/backref.h +++ b/fs/btrfs/backref.h | |||
@@ -33,8 +33,6 @@ struct inode_fs_paths { | |||
33 | 33 | ||
34 | typedef int (iterate_extent_inodes_t)(u64 inum, u64 offset, u64 root, | 34 | typedef int (iterate_extent_inodes_t)(u64 inum, u64 offset, u64 root, |
35 | void *ctx); | 35 | void *ctx); |
36 | typedef int (iterate_irefs_t)(u64 parent, struct btrfs_inode_ref *iref, | ||
37 | struct extent_buffer *eb, void *ctx); | ||
38 | 36 | ||
39 | int inode_item_info(u64 inum, u64 ioff, struct btrfs_root *fs_root, | 37 | int inode_item_info(u64 inum, u64 ioff, struct btrfs_root *fs_root, |
40 | struct btrfs_path *path); | 38 | struct btrfs_path *path); |