Bug 64711

Summary: btrfs-progs: btrfs_scan_kernel leaks a file descriptor
Product: File System Reporter: Arjan van de Ven (arjan)
Component: btrfsAssignee: Josef Bacik (josef)
Status: RESOLVED CODE_FIX    
Severity: normal CC: dsterba
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 3.12 Subsystem:
Regression: No Bisected commit-id:
Attachments: Proposed patch

Description Arjan van de Ven 2013-11-10 20:57:26 UTC
btrfs_scan_kernel() does a getmntent() but never releases the filedescriptor it gets back from that....
Comment 1 Arjan van de Ven 2013-11-10 21:00:27 UTC
Created attachment 114131 [details]
Proposed patch
Comment 2 David Sterba 2013-11-27 17:19:31 UTC
Patch submitted, thanks.