Creating BIO structure
Posted Feb 23, 2005 7:14 UTC (Wed) by explorer
In reply to: Creating BIO structure
Parent article: Driver porting: the BIO structure
Thanks for your reply.
I have already tested that api open_by_devnum.
But it oops.
The problem is open_by_devnum(block_device *bd, int mode)
calls blkdev_get function which makes use of bd->bd_inode field to get the block device structure.
How I can get the inode field for a dev_t structure?
Sorry for the inconvenience.
to post comments)