blob: 3c1a2605ffd2b8778ad25eb0b36819adea8673ca [file] [log] [blame]
Dave Chinner0b61f8a2018-06-05 19:42:14 -07001// SPDX-License-Identifier: GPL-2.0
Linus Torvalds1da177e2005-04-16 15:20:36 -07002/*
Nathan Scott7b718762005-11-02 14:58:39 +11003 * Copyright (c) 2000-2003,2005 Silicon Graphics, Inc.
4 * All Rights Reserved.
Linus Torvalds1da177e2005-04-16 15:20:36 -07005 */
6#ifndef __XFS_IOPS_H__
7#define __XFS_IOPS_H__
8
Christoph Hellwig41be8be2008-08-13 16:23:13 +10009struct xfs_inode;
Linus Torvalds1da177e2005-04-16 15:20:36 -070010
Lachlan McIlroy0ec58512008-06-23 13:23:01 +100011extern ssize_t xfs_vn_listxattr(struct dentry *, char *data, size_t size);
Linus Torvalds1da177e2005-04-16 15:20:36 -070012
Christian Braunerc1632a02023-01-13 12:49:11 +010013int xfs_vn_setattr_size(struct mnt_idmap *idmap,
Christoph Hellwigf736d932021-01-21 14:19:58 +010014 struct dentry *dentry, struct iattr *vap);
Dave Chinnerc24b5df2013-08-12 20:49:45 +100015
Eric Sandeen70b589a2022-07-09 10:56:02 -070016int xfs_inode_init_security(struct inode *inode, struct inode *dir,
17 const struct qstr *qstr);
18
Darrick J. Wong3fc48442024-04-15 14:54:08 -070019extern void xfs_setup_inode(struct xfs_inode *ip);
20extern void xfs_setup_iops(struct xfs_inode *ip);
21extern void xfs_diflags_to_iflags(struct xfs_inode *ip, bool init);
22
Linus Torvalds1da177e2005-04-16 15:20:36 -070023#endif /* __XFS_IOPS_H__ */