The HyperNews Linux KHG Discussion Pages

Question: Why do VFS functions get both structs inode and file?

Forum: Device Driver Basics
Date: Thu, 09 Jan 1997 05:47:10 GMT
From: Reinhold J. Gerharz <rgerharz@erols.com>

It appears that "struct file" contains a "struct inode *", yet both are passed to the VFS functions. Why not simply pass "struct file *" alone?