On Fri, Dec 23, 2005 at 06:14:17PM +0900, NAHieu wrote:
> But I expect that in this case, iattr->ia_attr_flags is combined of
> ATTR_CTIME, ATTR_MTIME and ATTR_ATIME, and that should *not* be 0.
> Anybody please tell me what is wrong?
ia_attr_flags doesn't exist in the latest 2.6 kernels and even when it did,
it didn't do what you think it did.
cscope is a useful tool for finding solutions to questions such as this.
Using it to search the kernel sources for uses of ATTR_CTIME will show you lots
of snippets like:
if (iattr->ia_valid & ATTR_MTIME) {
...
}
Best,
Tony
This archive was generated by hypermail 2.1.3 : Fri Dec 23 2005 - 15:28:42 PST