Re: [PATCH] eventfs: Fix WARN_ON() in create_file_dentry()

2023-10-26 Thread Google
On Tue, 24 Oct 2023 12:36:28 -0400 Steven Rostedt wrote: > From: "Steven Rostedt (Google)" > > As the comment right above a WARN_ON() in create_file_dentry() states: > > * Note, with the mutex held, the e_dentry cannot have content > * and the ei->is_freed be true at the same time. > > Bu

[PATCH] eventfs: Fix WARN_ON() in create_file_dentry()

2023-10-24 Thread Steven Rostedt
From: "Steven Rostedt (Google)" As the comment right above a WARN_ON() in create_file_dentry() states: * Note, with the mutex held, the e_dentry cannot have content * and the ei->is_freed be true at the same time. But the WARN_ON() only has: WARN_ON_ONCE(ei->is_free); Where to match the