I would say look at the fuctions in ../fs/ext3/. You could do a grep on the ext3 inode struct and see where its being updated(this would find loads of places and so I think looking at the functions would be a better approach).I'm currently trying to understand how the ext3 on-disk inode works. How is it filled ? Read/Written ?
How add a new attribute to it.
As of now its a fixed 128 bit data type. So the only way you can squeeze some data would be to comment some lines that are not important(maybe like support for HURD OS).I'll be *very* pleased if I could add a 32-bit field (at least, or better a 64-bits field).
Harsha Srinath
-- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/