[Bug runtime/13681] on rhel4, bulk mode flight recording tests leave a module behind

dsmith at redhat dot com sourceware-bugzilla@sourceware.org
Fri Feb 10 21:54:00 GMT 2012


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.



More information about the Systemtap mailing list