scrub_fs_info( ) file handle leaking
authorGoffredo Baroncelli <kreijack@libero.it>
Tue, 5 Jun 2012 17:26:34 +0000 (19:26 +0200)
committerChris Mason <chris.mason@fusionio.com>
Tue, 3 Jul 2012 20:27:46 +0000 (16:27 -0400)
commit5ef69ff8ec435b2f5208f8002ab0b68d23099842
tree3e7c335a8f5d82ef28da95b0e0025ad8b79840e1
parent6cb6eeb11de9fe0345a4c3f173c157931bb9d1bb
scrub_fs_info( ) file handle leaking

The function scrub_fs_info( ) closes and reopen a file handle
passed as argument, when a caller uses the file handle even after the
call.
The function scrub_fs_info( ) is updated to remove the file handle
argument, and instead uses a private own file handle.
The callers are updated to not pass the argument.
cmds-scrub.c