orangefs: fix a braino in ->poll()
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 3 Jul 2017 05:00:54 +0000 (01:00 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 27 Nov 2017 21:19:38 +0000 (16:19 -0500)
It's POLLIN, not POLL_IN...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/orangefs/devorangefs-req.c

index ded456f17de611c33aee001deab8729bfdfbabfe..a324dc584bf72b4cc068e7307b6df2befae77e61 100644 (file)
@@ -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;
 }