diff options
author | Mark Fasheh <mfasheh@suse.de> | 2012-08-08 20:33:54 +0200 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2012-10-09 15:15:01 +0200 |
commit | d24bec3ae528a47149b838aad76c006d40fe8a39 (patch) | |
tree | 5c89eba867198cfd7c04e2e1ed978415aa7a3023 /fs/btrfs/backref.h | |
parent | btrfs: extended inode refs (diff) | |
download | linux-d24bec3ae528a47149b838aad76c006d40fe8a39.tar.xz linux-d24bec3ae528a47149b838aad76c006d40fe8a39.zip |
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 { typedef int (iterate_extent_inodes_t)(u64 inum, u64 offset, u64 root, void *ctx); -typedef int (iterate_irefs_t)(u64 parent, struct btrfs_inode_ref *iref, - struct extent_buffer *eb, void *ctx); int inode_item_info(u64 inum, u64 ioff, struct btrfs_root *fs_root, struct btrfs_path *path); |