162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright (c) 2012 Red Hat, Inc. All rights reserved.
462306a36Sopenharmony_ci */
562306a36Sopenharmony_ci#ifndef __XFS_SYMLINK_H
662306a36Sopenharmony_ci#define __XFS_SYMLINK_H 1
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci/* Kernel only symlink definitions */
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ciint xfs_symlink(struct mnt_idmap *idmap, struct xfs_inode *dp,
1162306a36Sopenharmony_ci		struct xfs_name *link_name, const char *target_path,
1262306a36Sopenharmony_ci		umode_t mode, struct xfs_inode **ipp);
1362306a36Sopenharmony_ciint xfs_readlink_bmap_ilocked(struct xfs_inode *ip, char *link);
1462306a36Sopenharmony_ciint xfs_readlink(struct xfs_inode *ip, char *link);
1562306a36Sopenharmony_ciint xfs_inactive_symlink(struct xfs_inode *ip);
1662306a36Sopenharmony_ci
1762306a36Sopenharmony_ci#endif /* __XFS_SYMLINK_H */
18