diff options
author | Alexander Block <ablock84@googlemail.com> | 2012-06-03 14:23:23 +0200 |
---|---|---|
committer | Alexander Block <ablock84@googlemail.com> | 2012-07-25 23:25:06 +0200 |
commit | 91cb916ca26feb99c78c131a1643af3d10fefd96 (patch) | |
tree | b2913bd53fec94ab2cd9fe7cc9c843806debe0c9 /fs/btrfs/backref.h | |
parent | Btrfs: add helper for tree enumeration (diff) | |
download | linux-91cb916ca26feb99c78c131a1643af3d10fefd96.tar.xz linux-91cb916ca26feb99c78c131a1643af3d10fefd96.zip |
Btrfs: make iref_to_path non static
Make iref_to_path non static (needed in send) and rename
it to btrfs_iref_to_path
Signed-off-by: Alexander Block <ablock84@googlemail.com>
Diffstat (limited to 'fs/btrfs/backref.h')
-rw-r--r-- | fs/btrfs/backref.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/btrfs/backref.h b/fs/btrfs/backref.h index c18d8ac7b795..1a765792fbf2 100644 --- a/fs/btrfs/backref.h +++ b/fs/btrfs/backref.h @@ -21,6 +21,7 @@ #include "ioctl.h" #include "ulist.h" +#include "extent_io.h" #define BTRFS_BACKREF_SEARCH_COMMIT_ROOT ((struct btrfs_trans_handle *)0) @@ -60,6 +61,9 @@ int btrfs_find_all_roots(struct btrfs_trans_handle *trans, struct btrfs_fs_info *fs_info, u64 bytenr, u64 delayed_ref_seq, u64 time_seq, struct ulist **roots); +char *btrfs_iref_to_path(struct btrfs_root *fs_root, struct btrfs_path *path, + struct btrfs_inode_ref *iref, struct extent_buffer *eb, + u64 parent, char *dest, u32 size); struct btrfs_data_container *init_data_container(u32 total_bytes); struct inode_fs_paths *init_ipath(s32 total_bytes, struct btrfs_root *fs_root, |