2018-06-06 02:42:14 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
2013-04-03 05:11:18 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2012 Red Hat, Inc. All rights reserved.
|
|
|
|
*/
|
|
|
|
#ifndef __XFS_SYMLINK_H
|
|
|
|
#define __XFS_SYMLINK_H 1
|
|
|
|
|
2019-11-07 21:24:52 +00:00
|
|
|
/* Kernel only symlink definitions */
|
2013-04-03 05:11:18 +00:00
|
|
|
|
2023-01-13 11:49:25 +00:00
|
|
|
int xfs_symlink(struct mnt_idmap *idmap, struct xfs_inode *dp,
|
2021-01-21 13:19:58 +00:00
|
|
|
struct xfs_name *link_name, const char *target_path,
|
|
|
|
umode_t mode, struct xfs_inode **ipp);
|
2017-06-16 18:00:15 +00:00
|
|
|
int xfs_readlink_bmap_ilocked(struct xfs_inode *ip, char *link);
|
2013-04-03 05:11:18 +00:00
|
|
|
int xfs_readlink(struct xfs_inode *ip, char *link);
|
2013-09-20 15:06:09 +00:00
|
|
|
int xfs_inactive_symlink(struct xfs_inode *ip);
|
2013-04-03 05:11:18 +00:00
|
|
|
|
|
|
|
#endif /* __XFS_SYMLINK_H */
|