OK, here is another one. In the top level read_events() function in
fs/aio.c, a struct io_event is instantiated on the stack (variable ent).
It calls aio_read_evt() function which will fill the entire io_event
structure into variable ent. What's the point of zeroing when copy
covers the same memory area? Possible a debug code left around?
- Ken
<<aio.ent.patch>>
This archive was generated by hypermail 2b29 : Tue Jul 15 2003 - 22:00:29 EST