This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tapsets/16991] infinite loop in task_dentry_path


https://sourceware.org/bugzilla/show_bug.cgi?id=16991

--- Comment #1 from David Smith <dsmith at redhat dot com> ---
Created attachment 7619
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7619&action=edit
potential patch

Here's a potential patch, which includes a test case. The good news about this
patch is that it seems to fix the problem. When task_dentry_path() now hits a
dentry from a pipe filesystem, it returns something like:

pipe:[105988]

The only problem that I know of with this patch is the requirement of the
'buffer' argument to the new __dentry_generate_dname() function. It is a bit
ugly, but the only other potential solution I can think of (embedding that
temporary buffer in the context structure) is even uglier.

-- 
You are receiving this mail because:
You are the assignee for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]