Thread (180 messages) 180 messages, 22 authors, 2006-08-22

Re: [take5 1/4] kevent: Core files.

From: Zach Brown <hidden>
Date: 2006-08-08 22:03:04

quoted hunk ↗ jump to hunk
+++ b/include/linux/kevent.h
 ...
+#ifdef CONFIG_KEVENT_SOCKET
+
+extern struct file_operations socket_file_ops;
This doesn't build because socket_file_ops was left static in net/socket.c.

In any case, kevent.h has no business exposing socket_file_ops to users
of the kevent api just so the kevent core can test files as being backed
by sockets.  It'd be more appropriate to call into the socket layer with
the filp and let it return -EINVAL or -ESOCKNOOPT instead of trying to
do that in the kevent layer.

- z
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help