Re: ctime set by truncate even if NOCMTIME requested

From: Miklos Szeredi
Date: Tue Sep 20 2005 - 03:54:41 EST


> However if you know the cases where time is set implicitly by the
> server, why can't you simply optimise away the ATTR_CTIME and/or
> ATTR_MTIME?

How? By checking whether ATTR_SIZE is also set? Yes, that would work
for truncate(), but it's rather more ugly than the proposed check for
IS_NOCMTIME.

Miklos
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/