HyperNews
Linux KHG
讨论页面
为什么VFS函数同时获取结构体 inode 和 file?
论坛:
设备驱动基础
日期:
星期四, 1997年01月09日 05:47:10 GMT
发件人:
Reinhold J. Gerharz <
rgerharz@erols.com
>
看起来 "struct file" 包含一个 "struct inode *",但两者都被传递给 VFS 函数。为什么不只传递 "struct file *" 呢?