btrfs-progs: Remove cleanup-timer code for btrfs-convert

No need to close timer handle afain in subthread-close-callback,
it is closed by task_stop() automatically.

This patch also add a fflush() to make log output on time.

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
Zhao Lei 2015-07-27 20:24:28 +08:00 committed by David Sterba
parent c3b69e59fc
commit 867352bad9

View File

@ -71,10 +71,8 @@ static void *print_copied_inodes(void *p)
static int after_copied_inodes(void *p)
{
struct task_ctx *priv = p;
printf("\n");
task_period_stop(priv->info);
fflush(stdout);
return 0;
}