Thread (51 messages) flat view 51 messages, 3 authors, 2018-01-10

Re: [PATCH 04/31] net: add support for ->poll_mask in proto_ops

From: Christoph Hellwig <hch@lst.de>
Date: 2018-01-09 16:41:49
Also in: linux-fsdevel, lkml

On Tue, Jan 09, 2018 at 05:32:37PM +0100, Christoph Hellwig wrote:
On Sat, Jan 06, 2018 at 07:16:22PM +0000, Al Viro wrote:
quoted
quoted
+	__poll_t	(*poll_mask) (struct file *file, struct socket *sock,
+				      __poll_t events);
Does that sucker need struct file?
It turns out udp needs it:
But as mentioned in my last mail it can simply use sock->file.

Sigh, time for more coffee.

--
To unsubscribe, send a message with 'unsubscribe linux-aio' in
the body to majordomo@kvack.org.  For more info on Linux AIO,
see: http://www.kvack.org/aio/
Don't email: <a href=mailto:"aart@kvack.org">aart@kvack.org</a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help