projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Return POLLERR if channel is disabled (error state)
[lttng-modules.git]
/
ltt-debugfs-abi.c
diff --git
a/ltt-debugfs-abi.c
b/ltt-debugfs-abi.c
index fb6c789f1e0da0f4aa32bba7775fb86d439b90f0..f8bee492c3daae003dc7702aaf638ad3af99d0d3 100644
(file)
--- a/
ltt-debugfs-abi.c
+++ b/
ltt-debugfs-abi.c
@@
-568,6
+568,8
@@
unsigned int lttng_channel_poll(struct file *file, poll_table *wait)
poll_wait(file, channel->ops->get_hp_wait_queue(channel->chan),
wait);
+ if (channel->ops->is_disabled(channel->chan))
+ return POLLERR;
if (channel->ops->is_finalized(channel->chan))
return POLLHUP;
else
This page took
0.027384 seconds
and
4
git commands to generate.