lkml.org 
[lkml]   [2013]   [Jul]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [for-next-3.11][PATCH 0/8] ftrace/tracing: Event file fixes and ftrace function hash fixes
From
Date
On Wed, 2013-07-31 at 13:47 +0200, Oleg Nesterov wrote:
> On 07/30, Steven Rostedt wrote:
> >
> > Using the i_private and event_mutex
> > to verify that the event still exists to solve the race.
>
> To remind, we also need the "debugfs: debugfs_remove_recursive() must
> not rely on list_empty(d_subdirs)" patch, otherwise we still have the
> problems with the opened files.

Do these patches depend on that patch? Should I rebase to have that
patch first?

-- Steve

>
> Just in case, we need this fix even if .open() does trace_array_get()
> or tracing_open_generic_file() (removed by recent changes), rmdir can
> be called before we increment the counter and the deleted dentry breaks
> debugfs_remove_recursive().
>
> But after the recent changes this fix becomes more important. An opened
> file confuses debugfs_remove_recursive() and after that you can't create
> another probe.




\
 
 \ /
  Last update: 2013-07-31 16:21    [W:0.171 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site