mirror of
https://github.com/torvalds/linux.git
synced 2024-12-19 09:32:32 +00:00
af69d852df
Move the handle managemnet code (and the attrmulti code that uses it) to xfs_handle.c. Signed-off-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Christoph Hellwig <hch@lst.de>
29 lines
1011 B
C
29 lines
1011 B
C
// SPDX-License-Identifier: GPL-2.0
|
|
/*
|
|
* Copyright (c) 2000-2005 Silicon Graphics, Inc.
|
|
* All rights reserved.
|
|
*/
|
|
#ifndef __XFS_HANDLE_H__
|
|
#define __XFS_HANDLE_H__
|
|
|
|
int xfs_attrlist_by_handle(struct file *parfilp,
|
|
struct xfs_fsop_attrlist_handlereq __user *p);
|
|
int xfs_attrmulti_by_handle(struct file *parfilp, void __user *arg);
|
|
|
|
int xfs_find_handle(unsigned int cmd, struct xfs_fsop_handlereq *hreq);
|
|
int xfs_open_by_handle(struct file *parfilp, struct xfs_fsop_handlereq *hreq);
|
|
int xfs_readlink_by_handle(struct file *parfilp,
|
|
struct xfs_fsop_handlereq *hreq);
|
|
|
|
int xfs_ioc_attrmulti_one(struct file *parfilp, struct inode *inode,
|
|
uint32_t opcode, void __user *uname, void __user *value,
|
|
uint32_t *len, uint32_t flags);
|
|
int xfs_ioc_attr_list(struct xfs_inode *dp, void __user *ubuf,
|
|
size_t bufsize, int flags,
|
|
struct xfs_attrlist_cursor __user *ucursor);
|
|
|
|
struct dentry *xfs_handle_to_dentry(struct file *parfilp, void __user *uhandle,
|
|
u32 hlen);
|
|
|
|
#endif /* __XFS_HANDLE_H__ */
|