projects
/
lttng-modules.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert poll exclusive
[lttng-modules.git]
/
ltt-debugfs-abi.c
diff --git
a/ltt-debugfs-abi.c
b/ltt-debugfs-abi.c
index fb6c789f1e0da0f4aa32bba7775fb86d439b90f0..e3f5b55df1219bb2f9ae76313d6532d0bb712f9e 100644
(file)
--- a/
ltt-debugfs-abi.c
+++ b/
ltt-debugfs-abi.c
@@
-564,10
+564,12
@@
unsigned int lttng_channel_poll(struct file *file, poll_table *wait)
unsigned int mask = 0;
if (file->f_mode & FMODE_READ) {
unsigned int mask = 0;
if (file->f_mode & FMODE_READ) {
-
init_poll_funcptr(wait, wrapper_pollwait_exclusive
);
+
poll_wait_set_exclusive(wait
);
poll_wait(file, channel->ops->get_hp_wait_queue(channel->chan),
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
if (channel->ops->is_finalized(channel->chan))
return POLLHUP;
else
This page took
0.0232 seconds
and
4
git commands to generate.