diff options
author | Darrick J. Wong <djwong@kernel.org> | 2021-09-01 10:45:55 -0700 |
---|---|---|
committer | Darrick J. Wong <djwong@kernel.org> | 2021-09-17 18:54:52 -0700 |
commit | c0d680ffb0b1f0f29f30bf986db407c7b310915b (patch) | |
tree | 5e7e51b403af61967b71e23e27f5b7e0cf93b431 /fs/xfs/xfs_symlink.h | |
parent | 40a6864f1951b06d5c2f64c539f7744f8094aa05 (diff) |
xfs: repair damaged symlinksrepair-inodes_2021-09-17
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.h | 3 |
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 */ |