mirror of https://gitee.com/openkylin/linux.git
orangefs: fix a braino in ->poll()
It's POLLIN, not POLL_IN... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
4fbd8d194f
commit
e410c60360
|
@ -822,7 +822,7 @@ static unsigned int orangefs_devreq_poll(struct file *file,
|
|||
poll_wait(file, &orangefs_request_list_waitq, poll_table);
|
||||
|
||||
if (!list_empty(&orangefs_request_list))
|
||||
poll_revent_mask |= POLL_IN;
|
||||
poll_revent_mask |= POLLIN;
|
||||
return poll_revent_mask;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue