summaryrefslogtreecommitdiffstats
path: root/fs/orangefs/devorangefs-req.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2017-07-03 07:00:54 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2017-11-27 22:19:38 +0100
commite410c60360e210671ad604d46b57e1f6f90f9078 (patch)
treed41d75f515b0f354f4cc0d7283257ebe5d8e6096 /fs/orangefs/devorangefs-req.c
parentLinux 4.15-rc1 (diff)
downloadlinux-e410c60360e210671ad604d46b57e1f6f90f9078.tar.xz
linux-e410c60360e210671ad604d46b57e1f6f90f9078.zip
orangefs: fix a braino in ->poll()
It's POLLIN, not POLL_IN... Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/orangefs/devorangefs-req.c')
-rw-r--r--fs/orangefs/devorangefs-req.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/orangefs/devorangefs-req.c b/fs/orangefs/devorangefs-req.c
index ded456f17de6..a324dc584bf7 100644
--- a/fs/orangefs/devorangefs-req.c
+++ b/fs/orangefs/devorangefs-req.c
@@ -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;
}