Hi
your patch didn't compile for me ...
#if defined(CONFIG_RAW) && defined(CONFIG_AIO)
/*
* XXX Interfaces for AIO; ideally done through fops.
*/
int
kaio_is_raw(struct file *filp)
{
return(filp->f_op == &sd_raw_fops);
}
^^^^^^^^^^^^^^
it didn't find this global variable
so I made a pre declaration prior to this function:
struct file_operations sd_raw_fops ;
the second problem was:
void *
kaio_raw_rw(int rw, struct file *filp, char *buf, size_t count, loff_t
*ppos,
int *error, struct semaphore *semp, struct kiobuf *iobufp)
{
return(sd_raw_rw(rw, filp, buf, count, ppos, error, semp, iobufp));
}
the compiler said that sd_raw_rw needs 9 parameters
so I changed it to:
return(sd_raw_rw(rw, filp, buf, count, ppos, error, semp, iobufp,
AS_USER));
was it only my problem ?? did I make the right modofication??
thanks
Gabor
|