Dave Chinner | 19de735 | 2013-04-03 16:11:18 +1100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2012 Red Hat, Inc. All rights reserved. |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or |
| 5 | * modify it under the terms of the GNU General Public License as |
| 6 | * published by the Free Software Foundation. |
| 7 | * |
| 8 | * This program is distributed in the hope that it would be useful, |
| 9 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 10 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 11 | * GNU General Public License for more details. |
| 12 | * |
| 13 | * You should have received a copy of the GNU General Public License |
| 14 | * along with this program; if not, write the Free Software Foundation, |
| 15 | * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 16 | */ |
| 17 | #ifndef __XFS_SYMLINK_H |
| 18 | #define __XFS_SYMLINK_H 1 |
| 19 | |
Dave Chinner | 1fb7e48d | 2013-08-12 20:49:40 +1000 | [diff] [blame] | 20 | /* Kernel only symlink defintions */ |
Dave Chinner | 19de735 | 2013-04-03 16:11:18 +1100 | [diff] [blame] | 21 | |
| 22 | int xfs_symlink(struct xfs_inode *dp, struct xfs_name *link_name, |
| 23 | const char *target_path, umode_t mode, struct xfs_inode **ipp); |
Darrick J. Wong | 5da8f2f | 2017-06-16 11:00:15 -0700 | [diff] [blame] | 24 | int xfs_readlink_bmap_ilocked(struct xfs_inode *ip, char *link); |
Dave Chinner | 19de735 | 2013-04-03 16:11:18 +1100 | [diff] [blame] | 25 | int xfs_readlink(struct xfs_inode *ip, char *link); |
Brian Foster | 36b21dd | 2013-09-20 11:06:09 -0400 | [diff] [blame] | 26 | int xfs_inactive_symlink(struct xfs_inode *ip); |
Dave Chinner | 19de735 | 2013-04-03 16:11:18 +1100 | [diff] [blame] | 27 | |
Dave Chinner | 19de735 | 2013-04-03 16:11:18 +1100 | [diff] [blame] | 28 | #endif /* __XFS_SYMLINK_H */ |