Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0 */ |
Herbert Poetzl | ca4d147 | 2006-07-03 17:27:12 -0700 | [diff] [blame] | 2 | /* |
| 3 | * ioctl.h |
| 4 | * |
| 5 | * Function prototypes |
| 6 | * |
| 7 | * Copyright (C) 2006 Herbert Poetzl |
| 8 | * |
| 9 | */ |
| 10 | |
Tristan Ye | 9df5778 | 2010-03-02 13:59:42 +0800 | [diff] [blame] | 11 | #ifndef OCFS2_IOCTL_PROTO_H |
| 12 | #define OCFS2_IOCTL_PROTO_H |
Herbert Poetzl | ca4d147 | 2006-07-03 17:27:12 -0700 | [diff] [blame] | 13 | |
Miklos Szeredi | 2b5f52c | 2021-04-07 14:36:44 +0200 | [diff] [blame] | 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); |
Andi Kleen | c9ec148 | 2008-01-27 03:17:17 +0100 | [diff] [blame] | 17 | long ocfs2_ioctl(struct file *filp, unsigned int cmd, unsigned long arg); |
Mark Fasheh | 586d232 | 2007-03-09 15:56:28 -0800 | [diff] [blame] | 18 | long ocfs2_compat_ioctl(struct file *file, unsigned cmd, unsigned long arg); |
Herbert Poetzl | ca4d147 | 2006-07-03 17:27:12 -0700 | [diff] [blame] | 19 | |
Tristan Ye | 9df5778 | 2010-03-02 13:59:42 +0800 | [diff] [blame] | 20 | #endif /* OCFS2_IOCTL_PROTO_H */ |