xref: /linux/fs/ocfs2/ioctl.h (revision 24bce201d79807b668bf9d9e0aca801c5c0d5f78)
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