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