1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-12 20:58:37 +03:00

s3: includes: Make the comments describing itime consistent. Always use "invented" time.

It gets confusing if we call it "imaginary" or "instantiation"
in different places.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14928

Signed-off-by: Jones Syue <jonessyue@qnap.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Mon Jan 10 18:42:02 UTC 2022 on sn-devel-184

(cherry picked from commit 745af26a1a6531b2e906aa7c1c0355cbab658441)
This commit is contained in:
Jones Syue 2022-01-10 09:29:44 -08:00 committed by Jule Anger
parent 85941fe0cd
commit a43ad2777e
2 changed files with 3 additions and 3 deletions

View File

@ -205,10 +205,10 @@ struct stat_ex {
struct timespec st_ex_ctime;
struct timespec st_ex_btime; /* birthtime */
/*
* Immutable original birth time aka instantiation time. Set when a file
* Immutable original birth time aka invented time. Set when a file
* is created, never changes thereafter. May not be set by the client.
*/
struct timespec st_ex_itime; /* instantiation time */
struct timespec st_ex_itime; /* invented time */
blksize_t st_ex_blksize;
blkcnt_t st_ex_blocks;

View File

@ -311,7 +311,7 @@ void init_stat_ex_from_stat (struct stat_ex *dst,
}
/*******************************************************************
Create a clock-derived itime (imaginary) time. Used to generate
Create a clock-derived itime (invented) time. Used to generate
the fileid.
********************************************************************/