ext[23]_rename do not update [cm]time of target directory

From: Andreas Schwab
Date: Sat Jul 24 2004 - 10:04:26 EST


POSIX says in
<http://www.opengroup.org/onlinepubs/009695399/functions/rename.html>:

Upon successful completion, rename() shall mark for update the st_ctime
and st_mtime fields of the parent directory of each file.

ext[23]_rename fail to update st_[cm]time of the target directory if the
target file already existed.

Andreas.

--
Andreas Schwab, SuSE Labs, schwab@xxxxxxx
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
-
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/