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