summaryrefslogtreecommitdiff
path: root/fs/xfs/xfs_symlink.h
diff options
context:
space:
mode:
authorDarrick J. Wong <djwong@kernel.org>2021-09-01 10:45:55 -0700
committerDarrick J. Wong <djwong@kernel.org>2021-10-22 16:40:37 -0700
commit380212e0ce5191961005728cdd67a07358f3ec14 (patch)
tree9bc3be34217d21b5e275207fb3219b1dd6affc0e /fs/xfs/xfs_symlink.h
parentebbf385a912f3d1e5c13d7e33101e8aefb300f15 (diff)
xfs: repair damaged symlinksrepair-inodes_2021-10-22
Repair inconsistent symbolic link data. Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'fs/xfs/xfs_symlink.h')
-rw-r--r--fs/xfs/xfs_symlink.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/xfs/xfs_symlink.h b/fs/xfs/xfs_symlink.h
index 2586b7e393f3..0255b467d713 100644
--- a/fs/xfs/xfs_symlink.h
+++ b/fs/xfs/xfs_symlink.h
@@ -13,5 +13,8 @@ int xfs_symlink(struct user_namespace *mnt_userns, struct xfs_inode *dp,
int xfs_readlink_bmap_ilocked(struct xfs_inode *ip, char *link);
int xfs_readlink(struct xfs_inode *ip, char *link);
int xfs_inactive_symlink(struct xfs_inode *ip);
+int xfs_symlink_write_target(struct xfs_trans *tp, struct xfs_inode *ip,
+ const char *target_path, int pathlen, xfs_fsblock_t fs_blocks,
+ uint resblks);
#endif /* __XFS_SYMLINK_H */