mirror of
https://github.com/torvalds/linux.git
synced 2024-11-29 23:51:37 +00:00
2b5f52c562
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>
21 lines
549 B
C
21 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 */
|