projects
/
platform
/
upstream
/
btrfs-progs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c3b69e5
)
btrfs-progs: Remove cleanup-timer code for btrfs-convert
author
Zhao Lei
<zhaolei@cn.fujitsu.com>
Mon, 27 Jul 2015 12:24:28 +0000
(20:24 +0800)
committer
David Sterba
<dsterba@suse.com>
Mon, 31 Aug 2015 17:25:10 +0000
(19:25 +0200)
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>
btrfs-convert.c
patch
|
blob
|
history
diff --git
a/btrfs-convert.c
b/btrfs-convert.c
index
c97068e
..
917bbc1
100644
(file)
--- 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)
{
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;
}