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 runtime/13681] on rhel4, bulk mode flight recording tests leave a module behind


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.


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