Re: [PATCH v5 07/10] eventfs: Implement functions to create files and dirs when accessed

From: Steven Rostedt
Date: Wed Jul 26 2023 - 16:34:29 EST


On Sun, 23 Jul 2023 01:07:02 +0530
Ajay Kaher <akaher@xxxxxxxxxx> wrote:

> --- a/include/linux/tracefs.h
> +++ b/include/linux/tracefs.h
> @@ -23,6 +23,13 @@ struct file_operations;
>
> struct eventfs_file;
>
> +struct dentry *eventfs_start_creating(const char *name,
> + struct dentry *parent);
> +
> +struct dentry *eventfs_failed_creating(struct dentry *dentry);
> +
> +struct dentry *eventfs_end_creating(struct dentry *dentry);
> +

These should go into the internal.h header and not be exposed to users
of tracefs.

-- Steve