Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003  * Copyright (c) 2012 Red Hat, Inc. All rights reserved.
0004  */
0005 #ifndef __XFS_SYMLINK_H
0006 #define __XFS_SYMLINK_H 1
0007 
0008 /* Kernel only symlink definitions */
0009 
0010 int xfs_symlink(struct user_namespace *mnt_userns, struct xfs_inode *dp,
0011         struct xfs_name *link_name, const char *target_path,
0012         umode_t mode, struct xfs_inode **ipp);
0013 int xfs_readlink_bmap_ilocked(struct xfs_inode *ip, char *link);
0014 int xfs_readlink(struct xfs_inode *ip, char *link);
0015 int xfs_inactive_symlink(struct xfs_inode *ip);
0016 
0017 #endif /* __XFS_SYMLINK_H */