blob: b1fa091427e6261396c75d9b7cd34a7c01050f4f [file] [log] [blame]
Dave Chinner0b61f8a2018-06-05 19:42:14 -07001// SPDX-License-Identifier: GPL-2.0
Dave Chinner19de7352013-04-03 16:11:18 +11002/*
3 * Copyright (c) 2012 Red Hat, Inc. All rights reserved.
Dave Chinner19de7352013-04-03 16:11:18 +11004 */
5#ifndef __XFS_SYMLINK_H
6#define __XFS_SYMLINK_H 1
7
Joe Perchescf085a12019-11-07 13:24:52 -08008/* Kernel only symlink definitions */
Dave Chinner19de7352013-04-03 16:11:18 +11009
10int xfs_symlink(struct xfs_inode *dp, struct xfs_name *link_name,
11 const char *target_path, umode_t mode, struct xfs_inode **ipp);
Darrick J. Wong5da8f2f2017-06-16 11:00:15 -070012int xfs_readlink_bmap_ilocked(struct xfs_inode *ip, char *link);
Dave Chinner19de7352013-04-03 16:11:18 +110013int xfs_readlink(struct xfs_inode *ip, char *link);
Brian Foster36b21dd2013-09-20 11:06:09 -040014int xfs_inactive_symlink(struct xfs_inode *ip);
Dave Chinner19de7352013-04-03 16:11:18 +110015
Dave Chinner19de7352013-04-03 16:11:18 +110016#endif /* __XFS_SYMLINK_H */