Re: [RFC] [PATCH 6/8] inode-diet: Move i_cindex from struct inode to struct file

Al Viro
2006-06-19T19:33:36Z

On Mon, Jun 19, 2006 at 11:20:09AM -0400, Theodore Tso wrote:
> inode.i_cindex isn't initialized until the character device is opened
> anyway, and there are far more struct inodes in memory than there are
> struct file. So move the cindex field to file.f_cindex, and change
> the one(!) user of cindex to use file pointer, which is in fact simpler.

NAK. Please, take it to the union into cdev part.