From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH 04/31] net: add support for ->poll_mask in proto_ops Date: Tue, 9 Jan 2018 17:41:49 +0100 Message-ID: <20180109164149.GA12001@lst.de> References: <20180104080043.14506-1-hch@lst.de> <20180104080043.14506-5-hch@lst.de> <20180106191622.GJ21978@ZenIV.linux.org.uk> <20180109163237.GA11540@lst.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Christoph Hellwig , Avi Kivity , linux-aio@kvack.org, linux-fsdevel@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org To: Al Viro Return-path: Content-Disposition: inline In-Reply-To: <20180109163237.GA11540@lst.de> Sender: owner-linux-aio@kvack.org List-Id: netdev.vger.kernel.org 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: > > > + __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: aart@kvack.org