summaryrefslogtreecommitdiffstats
path: root/fs/orangefs
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2017-07-03 01:00:54 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2017-11-27 16:19:38 -0500
commite410c60360e210671ad604d46b57e1f6f90f9078 (patch)
treed41d75f515b0f354f4cc0d7283257ebe5d8e6096 /fs/orangefs
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323 (diff)
downloadlinux-e410c60360e210671ad604d46b57e1f6f90f9078.tar.bz2
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')
-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;
}