[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ``struct stat'' issue
From: |
Roland McGrath |
Subject: |
Re: ``struct stat'' issue |
Date: |
Tue, 13 Nov 2007 17:33:31 -0800 (PST) |
> I.e., the usec / nsec value of variable `st' (``struct stat'') isn't set
> at all. In my reading of the used ``struct ext2_inode'' (variable `di')
> there indeed is nothing better than the sec value being provided. Should
> we explicitly set the usec / nsec value of `st' to zero?
Yes. diskfs_make_node does not zero everything first, so read_node should
set every field.
Thanks,
Roland