Bug 525893 - readahead leaks file descriptors
Summary: readahead leaks file descriptors
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: readahead
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-09-26 19:52 UTC by Raphael Geissert
Modified: 2009-10-06 14:24 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-10-06 14:24:28 UTC
Type: ---


Attachments (Terms of Use)
proposed patch (672 bytes, patch)
2009-09-26 19:54 UTC, Raphael Geissert
no flags Details | Diff

Description Raphael Geissert 2009-09-26 19:52:00 UTC
list_read_blocks (from readahead.c) leaks file descriptors on certain circumstances. The attached patch ensures all file descriptors are closed.

Comment 1 Raphael Geissert 2009-09-26 19:54:56 UTC
Created attachment 362776 [details]
proposed patch

Bugzilla failed to add the attachment when I submitted the bug, so re-trying now.

Comment 2 Harald Hoyer 2009-10-06 14:24:28 UTC
pushed to upstream git and built readahead-1.5.3-1 in Fedora 12


Note You need to log in before you can comment on or make changes to this bug.