2013-04-03 12:11:18 +07:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2012 Red Hat, Inc. All rights reserved.
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License as
|
|
|
|
* published by the Free Software Foundation.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it would be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; if not, write the Free Software Foundation,
|
|
|
|
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
*/
|
|
|
|
#ifndef __XFS_SYMLINK_H
|
|
|
|
#define __XFS_SYMLINK_H 1
|
|
|
|
|
2013-08-12 17:49:40 +07:00
|
|
|
/* Kernel only symlink defintions */
|
2013-04-03 12:11:18 +07:00
|
|
|
|
|
|
|
int xfs_symlink(struct xfs_inode *dp, struct xfs_name *link_name,
|
|
|
|
const char *target_path, umode_t mode, struct xfs_inode **ipp);
|
2017-06-17 01:00:15 +07:00
|
|
|
int xfs_readlink_bmap_ilocked(struct xfs_inode *ip, char *link);
|
2013-04-03 12:11:18 +07:00
|
|
|
int xfs_readlink(struct xfs_inode *ip, char *link);
|
2013-09-20 22:06:09 +07:00
|
|
|
int xfs_inactive_symlink(struct xfs_inode *ip);
|
2013-04-03 12:11:18 +07:00
|
|
|
|
|
|
|
#endif /* __XFS_SYMLINK_H */
|