Re: [PATCH v4] eventfs: Remove eventfs_file and just use eventfs_inode

2023-10-09 Thread Steven Rostedt
On Sat, 7 Oct 2023 19:44:45 +0900 Masami Hiramatsu (Google) wrote: > [...] > > @@ -118,6 +72,7 @@ static struct dentry *create_file(const char *name, > > umode_t mode, > > if (WARN_ON_ONCE(!S_ISREG(mode))) > > return NULL; > > > > + WARN_ON_ONCE(!parent); > > Nit: This loo

Re: [PATCH v4] eventfs: Remove eventfs_file and just use eventfs_inode

2023-10-07 Thread Google
On Tue, 3 Oct 2023 18:40:59 -0400 Steven Rostedt wrote: > From: "Steven Rostedt (Google)" > > Instead of having a descriptor for every file represented in the eventfs > directory, only have the directory itself represented. Change the API to > send in a list of entries that represent all the fi

[PATCH v4] eventfs: Remove eventfs_file and just use eventfs_inode

2023-10-03 Thread Steven Rostedt
From: "Steven Rostedt (Google)" Instead of having a descriptor for every file represented in the eventfs directory, only have the directory itself represented. Change the API to send in a list of entries that represent all the files in the directory (but not other directories). The entry list con