@@ -1125,10 +1125,10 @@ static int inode_ref_info(u64 inum, u64 ioff, struct btrfs_root *fs_root,
1125
1125
* required for the path to fit into the buffer. in that case, the returned
1126
1126
* value will be smaller than dest. callers must check this!
1127
1127
*/
1128
- static char * iref_to_path (struct btrfs_root * fs_root , struct btrfs_path * path ,
1129
- struct btrfs_inode_ref * iref ,
1130
- struct extent_buffer * eb_in , u64 parent ,
1131
- char * dest , u32 size )
1128
+ char * btrfs_iref_to_path (struct btrfs_root * fs_root , struct btrfs_path * path ,
1129
+ struct btrfs_inode_ref * iref ,
1130
+ struct extent_buffer * eb_in , u64 parent ,
1131
+ char * dest , u32 size )
1132
1132
{
1133
1133
u32 len ;
1134
1134
int slot ;
@@ -1543,7 +1543,7 @@ static int inode_to_path(u64 inum, struct btrfs_inode_ref *iref,
1543
1543
ipath -> fspath -> bytes_left - s_ptr : 0 ;
1544
1544
1545
1545
fspath_min = (char * )ipath -> fspath -> val + (i + 1 ) * s_ptr ;
1546
- fspath = iref_to_path (ipath -> fs_root , ipath -> btrfs_path , iref , eb ,
1546
+ fspath = btrfs_iref_to_path (ipath -> fs_root , ipath -> btrfs_path , iref , eb ,
1547
1547
inum , fspath_min , bytes_left );
1548
1548
if (IS_ERR (fspath ))
1549
1549
return PTR_ERR (fspath );
0 commit comments