Messages in this thread |  | | | Date | Mon, 19 Jun 2006 20:33:35 +0100 | | From | Al Viro <> | | Subject | Re: [RFC] [PATCH 6/8] inode-diet: Move i_cindex from struct inode to struct file |
| |
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. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |