diff options
Diffstat (limited to 'fs/btrfs/backref.c')
-rw-r--r-- | fs/btrfs/backref.c | 10 |
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 | */ |
1125 | static char *iref_to_path(struct btrfs_root *fs_root, struct btrfs_path *path, | 1125 | char *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); |