hi,
if it's not the wrong location of the fs.h file (i really doubt it is)
... then try this ... since the compiler is saying "dereferencing pointer to
incomplete type" ... maybe it is that the struct u r passing to the function
is not properly initialized ...
like if the struct object u r passing to the function has been just
intialized as
struct buffer_head *structobbject;
then structobject is not initialized ...
try
structobject = new buffer_head[1];
then u can pass structobject to ur function and use map->b_data within the
function...
this may work .. try it ...
if this doesn't .. post again .. i'll think of something else.
dinesh.
- Perfection or Nothing.