mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-30 15:44:13 +08: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 */
|