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