Hi All,
If i look at the file linux/fs.h for definition of struct inode i
notice that following fields-
struct timespec i_atime;
struct timespec i_mtime;
struct timespec i_ctime;
umode_t i_mode;
uid_t i_uid;
gid_t i_gid;
are also present in the struct iattr defined in the same file, though
with a slightly modified name, viz -
umode_t ia_mode;
uid_t ia_uid;
gid_t ia_gid;
struct timespec ia_atime;
struct timespec ia_mtime;
struct timespec ia_ctime;
Why keep then both? Why can't we make struct iattr a member of inode
itself, maybe via a pointer?
is there a reason not to do so?
Thanks,
--Pradeep
--
play the game
--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [EMAIL PROTECTED]
Please read the FAQ at http://kernelnewbies.org/FAQ