1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Copyright (c) 2012 Red Hat, Inc. All rights reserved.
4 */
5#ifndef __XFS_SYMLINK_H
6#define __XFS_SYMLINK_H 1
7
8/* Kernel only symlink definitions */
9
10int xfs_symlink(struct mnt_idmap *idmap, struct xfs_inode *dp,
11 struct xfs_name *link_name, const char *target_path,
12 umode_t mode, struct xfs_inode **ipp);
13int xfs_readlink_bmap_ilocked(struct xfs_inode *ip, char *link);
14int xfs_readlink(struct xfs_inode *ip, char *link);
15int xfs_inactive_symlink(struct xfs_inode *ip);
16
17#endif /* __XFS_SYMLINK_H */
18

source code of linux/fs/xfs/xfs_symlink.h