diff options
author | Silvio Fricke <silvio.fricke@gmail.com> | 2014-11-09 23:16:56 +0100 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2014-12-04 17:13:44 +0100 |
commit | 48e06b7fa46f70b9f9f8093ebd76c09cf93c1cbf (patch) | |
tree | b40a3ac11ba8eee61b3a0abc916c54c7d64e25c1 /task-utils.c | |
parent | cd08bdfd9813568baf445fd1a65f1f16a52e5cd0 (diff) | |
download | btrfs-progs-48e06b7fa46f70b9f9f8093ebd76c09cf93c1cbf.tar.gz |
btrfs-progs: convert: use task for progress indication of metadata creation
Signed-off-by: Silvio Fricke <silvio.fricke@gmail.com>
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'task-utils.c')
-rw-r--r-- | task-utils.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/task-utils.c b/task-utils.c index 4582f76..10e3f0f 100644 --- a/task-utils.c +++ b/task-utils.c @@ -115,10 +115,8 @@ void task_period_wait(struct task_info *info) return; ret = read(info->periodic.timer_fd, &missed, sizeof (missed)); - if (ret == -1) { - perror("read timer"); + if (ret == -1) return; - } if (missed > 0) info->periodic.wakeups_missed += (missed - 1); |