xref: /openbmc/linux/fs/ocfs2/ioctl.h (revision 79e790ff)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * ioctl.h
4  *
5  * Function prototypes
6  *
7  * Copyright (C) 2006 Herbert Poetzl
8  *
9  */
10 
11 #ifndef OCFS2_IOCTL_PROTO_H
12 #define OCFS2_IOCTL_PROTO_H
13 
14 int ocfs2_fileattr_get(struct dentry *dentry, struct fileattr *fa);
15 int ocfs2_fileattr_set(struct user_namespace *mnt_userns,
16 		       struct dentry *dentry, struct fileattr *fa);
17 long ocfs2_ioctl(struct file *filp, unsigned int cmd, unsigned long arg);
18 long ocfs2_compat_ioctl(struct file *file, unsigned cmd, unsigned long arg);
19 
20 #endif /* OCFS2_IOCTL_PROTO_H */
21