mirror of
https://github.com/kdave/btrfs-progs
synced 2025-04-26 04:57:57 +00:00
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:
parent
c3b69e59fc
commit
867352bad9
@ -71,10 +71,8 @@ static void *print_copied_inodes(void *p)
|
|||||||
|
|
||||||
static int after_copied_inodes(void *p)
|
static int after_copied_inodes(void *p)
|
||||||
{
|
{
|
||||||
struct task_ctx *priv = p;
|
|
||||||
|
|
||||||
printf("\n");
|
printf("\n");
|
||||||
task_period_stop(priv->info);
|
fflush(stdout);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user