diff options
author | Zhao Lei <zhaolei@cn.fujitsu.com> | 2015-07-27 20:24:28 +0800 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2015-08-31 19:25:10 +0200 |
commit | 867352bad9ecb6a08afe2668aeeacbd626400d4c (patch) | |
tree | 6e935c583a0e18e53c0538e2713ef277849ec8c9 /btrfs-convert.c | |
parent | c3b69e59fc4e165bdabea130905e9b9525dfaeba (diff) |
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>
Diffstat (limited to 'btrfs-convert.c')
-rw-r--r-- | btrfs-convert.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/btrfs-convert.c b/btrfs-convert.c index c97068e9..917bbc1b 100644 --- a/btrfs-convert.c +++ b/btrfs-convert.c @@ -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; } |