mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 19:00:25 +00:00
![Miklos Szeredi](/assets/img/avatar_default.png)
Use the fileattr API to let the VFS handle locking, permission checking and conversion. Signed-off-by: Miklos Szeredi <mszeredi@redhat.com> Cc: Joel Becker <jlbec@evilplan.org>
20 lines
549 B
C
20 lines
549 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* ioctl.h
|
|
*
|
|
* Function prototypes
|
|
*
|
|
* Copyright (C) 2006 Herbert Poetzl
|
|
*
|
|
*/
|
|
|
|
#ifndef OCFS2_IOCTL_PROTO_H
|
|
#define OCFS2_IOCTL_PROTO_H
|
|
|
|
int ocfs2_fileattr_get(struct dentry *dentry, struct fileattr *fa);
|
|
int ocfs2_fileattr_set(struct user_namespace *mnt_userns,
|
|
struct dentry *dentry, struct fileattr *fa);
|
|
long ocfs2_ioctl(struct file *filp, unsigned int cmd, unsigned long arg);
|
|
long ocfs2_compat_ioctl(struct file *file, unsigned cmd, unsigned long arg);
|
|
|
|
#endif /* OCFS2_IOCTL_PROTO_H */
|