projects
/
platform
/
upstream
/
btrfs-progs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
btrfs-progs: mkfs: Don't use custom chunk allocator for rootdir
[platform/upstream/btrfs-progs.git]
/
task-utils.c
diff --git
a/task-utils.c
b/task-utils.c
index
a4017ff
..
12b0002
100644
(file)
--- a/
task-utils.c
+++ b/
task-utils.c
@@
-119,6
+119,9
@@
void task_period_wait(struct task_info *info)
if (!info)
return;
+ if (info->periodic.timer_fd == 0)
+ return;
+
ret = read(info->periodic.timer_fd, &missed, sizeof (missed));
if (ret == -1)
return;