mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-08-17 22:00:22 +00:00

Now that we expose struct file_attr as our uapi struct rename all the internal struct to struct file_kattr to clearly communicate that it is a kernel internal struct. This is similar to struct mount_{k}attr and others. Link: https://lore.kernel.org/20250703-restlaufzeit-baurecht-9ed44552b481@brauner Signed-off-by: Christian Brauner <brauner@kernel.org>
21 lines
543 B
C
21 lines
543 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 file_kattr *fa);
|
|
int ocfs2_fileattr_set(struct mnt_idmap *idmap,
|
|
struct dentry *dentry, struct file_kattr *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 */
|