aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/backref.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@fusionio.com>2012-07-25 19:17:39 -0400
committerChris Mason <chris.mason@fusionio.com>2012-07-25 19:19:10 -0400
commit113c1cb530e10bcada93d88ffaa6b521aae2d251 (patch)
treee41776281314eb8fdc6b07e1533491e5f9ec21af /fs/btrfs/backref.c
parentcd1cfc49153ba2bef247e500d8bd4d135193ece9 (diff)
parent31db9f7c23fbf7e95026143f79645de6507b583b (diff)
Merge branch 'send-v2' of git://github.com/ablock84/linux-btrfs into for-linus
This is the kernel portion of btrfs send/receive Conflicts: fs/btrfs/Makefile fs/btrfs/backref.h fs/btrfs/ctree.c fs/btrfs/ioctl.c fs/btrfs/ioctl.h Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs/btrfs/backref.c')
-rw-r--r--fs/btrfs/backref.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/fs/btrfs/backref.c b/fs/btrfs/backref.c
index 7d80ddd8f544..a256f3b2a845 100644
--- a/fs/btrfs/backref.c
+++ b/fs/btrfs/backref.c
@@ -1122,10 +1122,10 @@ static int inode_ref_info(u64 inum, u64 ioff, struct btrfs_root *fs_root,
1122 * required for the path to fit into the buffer. in that case, the returned 1122 * required for the path to fit into the buffer. in that case, the returned
1123 * value will be smaller than dest. callers must check this! 1123 * value will be smaller than dest. callers must check this!
1124 */ 1124 */
1125static char *iref_to_path(struct btrfs_root *fs_root, struct btrfs_path *path, 1125char *btrfs_iref_to_path(struct btrfs_root *fs_root, struct btrfs_path *path,
1126 struct btrfs_inode_ref *iref, 1126 struct btrfs_inode_ref *iref,
1127 struct extent_buffer *eb_in, u64 parent, 1127 struct extent_buffer *eb_in, u64 parent,
1128 char *dest, u32 size) 1128 char *dest, u32 size)
1129{ 1129{
1130 u32 len; 1130 u32 len;
1131 int slot; 1131 int slot;
@@ -1531,7 +1531,7 @@ static int inode_to_path(u64 inum, struct btrfs_inode_ref *iref,
1531 ipath->fspath->bytes_left - s_ptr : 0; 1531 ipath->fspath->bytes_left - s_ptr : 0;
1532 1532
1533 fspath_min = (char *)ipath->fspath->val + (i + 1) * s_ptr; 1533 fspath_min = (char *)ipath->fspath->val + (i + 1) * s_ptr;
1534 fspath = iref_to_path(ipath->fs_root, ipath->btrfs_path, iref, eb, 1534 fspath = btrfs_iref_to_path(ipath->fs_root, ipath->btrfs_path, iref, eb,
1535 inum, fspath_min, bytes_left); 1535 inum, fspath_min, bytes_left);
1536 if (IS_ERR(fspath)) 1536 if (IS_ERR(fspath))
1537 return PTR_ERR(fspath); 1537 return PTR_ERR(fspath);