question about struct map_info

liu yang liudows2 at gmail.com
Fri Feb 29 07:52:49 EST 2008


Hi, all.

In the MTD driver for nor flash,  we should define a 'map_info'
struct. But what is the use of
map_info->read/write ? What is the difference between
map_info->read/write and mtd_info->read/write ?
I think the fs layer should call mtd_info->read/write, but not
map_info->read/write. Who is the caller of map_info->read/write?

Thanks!

liu yang



More information about the linux-mtd mailing list