mtd->write(......) 와 a_ops->write(....) 차이
글쓴이: kgykingdom / 작성시간: 금, 2005/07/01 - 6:29오후
struct address_space_operations jffs2_file_address_operations =
{
.write = test_write
};
위에 처럼 file_operation을 설정해 놓고
struct address_space_operations *a_ops = mapping->a_ops;
a_ops->write(.....)
호출하는 것과
mtd_info mtd;
mtd->write(......)
이렇게 호출하는 것에 차이는 무엇일까요??
밑에게 물리적으로 디바이스에 write하는 건가요??
Forums:
댓글 달기