Thank you very much! in kernel space ,if i get the i_ino(inode mumber ) of a file, and then how could i get the block number of this file? i in VFS layer the inode struct haven't i_block[] array to point to the blocks. but in ext3_inode struct, it has. what's the relationship between the VFS inode and ext3_inode?
|