lkml.org 
[lkml]   [2001]   [Oct]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectIs kiobuf->end_io still used?
Date
From
Is the end_io field from the kiobuf structure still used?

The only usage of it that I can find is in fs/iobuf.c:end_kio_request().

if (kiobuf->end_io)
kiobuf->end_io(kiobuf);

I can't find code in the kernel that sets the end_io field. The kiobuf
structure should be hidden from drivers, so a driver shouldn't be
setting it. The callback routines for the IO are set in the individual
buffer headers. So far it looks like this check in end_kio_request()
always does nothing because the end_io field is initialized as 0.

Am I missing something?

Thanks,
Andrew
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:04    [W:0.026 / U:4.492 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site