Hi!
I'm working on developing a simple block device driver (just for the fun on it).
I'm using the sbull code from here:
http://www.kernel-labs.org/?q=blockdriver
So, when I compile it, I get some errors. I have corrected the first one and now I'm getting something about
elv_next_request being first time used, blh blah.
So I have to find the .h file where elv_next_request is defined and include it. I'm checking at my "Understanding the linux kernel" book and it'ssomething related to elevator.
When I check for .h files that define that function, none is found. When I check for files with "elevator" in their names, I get linux/elevator.h but there's no such function. Has the API been changed and I have to use another function now?
Code:
$ uname -a
Linux ubuntu 2.6.32-21-generic #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010 i686 GNU/Linux
On a LiveUSB (Kubuntu Lucid)
Thanks in advance.