This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/13681] on rhel4, bulk mode flight recording tests leave a module behind
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Fri, 10 Feb 2012 21:54:12 +0000
- Subject: [Bug runtime/13681] on rhel4, bulk mode flight recording tests leave a module behind
- Auto-submitted: auto-generated
- References: <bug-13681-6586@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=13681
David Smith <dsmith at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from David Smith <dsmith at redhat dot com> 2012-02-10 21:54:12 UTC ---
Fixed in commit 8a33235.
The old relayfs code only used on kernels < 2.6.15 had a bug. The code used 0
as the value to indicate that a relay fd wasn't open. However, 0 is a valid
file descriptor value. So, first relay fd was never closed, causing the module
to think it was still in use.
Fixed by using -1 as the value to indicate the relay fd isn't open.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.