diff options
author | Eric Sandeen <sandeen@redhat.com> | 2013-01-24 18:18:49 -0600 |
---|---|---|
committer | Zach Brown <zab@redhat.com> | 2013-02-05 16:09:41 -0800 |
commit | 6bd3a02fa67369c8a53c1b457e72c7330cfef3af (patch) | |
tree | 0527427617c6622d6b6b24d06fc9a8aa9ef825f5 /repair.c | |
parent | a70837ab1e33ceee70b5bc8c1d5969b897e57b72 (diff) |
btrfs-progs: don't double-close prg_fd
If scrub start discovers that scrub is already running,
we need to set prg_fd to -1 before goto out, or we'll
try to close it again in the error path.
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Zach Brown <zab@redhat.com>
Diffstat (limited to 'repair.c')
0 files changed, 0 insertions, 0 deletions