> Which version of kernel headers did you get generic_file_read. I am > looking at include/linux/fs.h (kernel 2.6.23.11) and can only find > do_generic_file_read . Though I got a link > (http://forums.gentoo.org/viewtopic-p-3767131.html?sid=d5cfe4877e1aec54496fbf8169b121c7#3767131) > saying that generic_file_read should be replaced with do_sync_read in > the newer versions. Also vfs_read internally also calls do_sync_read > with some more checks, so I think it is better to use vfs_read rather > than do_sync_read. sorry, i missread your question. i only have some experience using vfs_read and write, so i am not exactly sure what's the difference between the other two. > If I know a change, how do I find under which patch/version of the > kernel has a particular change gone into. i know there is http://www.linuxhq.com/ there you can search through patch histories. for example the fs.h history is here: http://www.linuxhq.com/kernel/file/include/linux/fs.h -- ilya -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ