Dave Chinner | 0b61f8a | 2018-06-05 19:42:14 -0700 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Dave Chinner | 19de735 | 2013-04-03 16:11:18 +1100 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (c) 2012 Red Hat, Inc. All rights reserved. |
Dave Chinner | 19de735 | 2013-04-03 16:11:18 +1100 | [diff] [blame] | 4 | */ |
| 5 | #ifndef __XFS_SYMLINK_H |
| 6 | #define __XFS_SYMLINK_H 1 |
| 7 | |
Joe Perches | cf085a1 | 2019-11-07 13:24:52 -0800 | [diff] [blame] | 8 | /* Kernel only symlink definitions */ |
Dave Chinner | 19de735 | 2013-04-03 16:11:18 +1100 | [diff] [blame] | 9 | |
| 10 | int 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. Wong | 5da8f2f | 2017-06-16 11:00:15 -0700 | [diff] [blame] | 12 | int xfs_readlink_bmap_ilocked(struct xfs_inode *ip, char *link); |
Dave Chinner | 19de735 | 2013-04-03 16:11:18 +1100 | [diff] [blame] | 13 | int xfs_readlink(struct xfs_inode *ip, char *link); |
Brian Foster | 36b21dd | 2013-09-20 11:06:09 -0400 | [diff] [blame] | 14 | int xfs_inactive_symlink(struct xfs_inode *ip); |
Dave Chinner | 19de735 | 2013-04-03 16:11:18 +1100 | [diff] [blame] | 15 | |
Dave Chinner | 19de735 | 2013-04-03 16:11:18 +1100 | [diff] [blame] | 16 | #endif /* __XFS_SYMLINK_H */ |