blob: 9743d8c9394ba8a618a9e73cec48d1d8133e3bb1 [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
Dave Chinner1fb7e48d2013-08-12 20:49:40 +10008/* Kernel only symlink defintions */
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 */