提交 e410c603 编写于 作者: A Al Viro

orangefs: fix a braino in ->poll()

It's POLLIN, not POLL_IN...
Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
上级 4fbd8d19
...@@ -822,7 +822,7 @@ static unsigned int orangefs_devreq_poll(struct file *file, ...@@ -822,7 +822,7 @@ static unsigned int orangefs_devreq_poll(struct file *file,
poll_wait(file, &orangefs_request_list_waitq, poll_table); poll_wait(file, &orangefs_request_list_waitq, poll_table);
if (!list_empty(&orangefs_request_list)) if (!list_empty(&orangefs_request_list))
poll_revent_mask |= POLL_IN; poll_revent_mask |= POLLIN;
return poll_revent_mask; return poll_revent_mask;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册