From: Al Viro Date: Mon, 3 Jul 2017 05:00:54 +0000 (-0400) Subject: orangefs: fix a braino in ->poll() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e410c60360e210671ad604d46b57e1f6f90f9078;p=openwrt%2Fstaging%2Fblogic.git orangefs: fix a braino in ->poll() It's POLLIN, not POLL_IN... Signed-off-by: Al Viro --- 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; }