erofs: rename ctime to mtime
authorDavid Anderson <dvander@google.com>
Thu, 17 Mar 2022 11:49:59 +0000 (19:49 +0800)
committerGao Xiang <hsiangkao@linux.alibaba.com>
Thu, 17 Mar 2022 15:41:14 +0000 (23:41 +0800)
commita1108dcd9373a98f7018aa4310076260b8ecfc0b
tree6b361359bc557cc8090e241996dd3da332cca7d8
parent500edd0956487281a6fa0e1e34e931817e85d8b6
erofs: rename ctime to mtime

EROFS images should inherit modification time rather than change time,
since users and host tooling have no easy way to control change time.

To reflect the new timestamp meaning, i_ctime and i_ctime_nsec are
renamed to i_mtime and i_mtime_nsec.

Link: https://lore.kernel.org/r/20220311041829.3109511-1-dvander@google.com
Signed-off-by: David Anderson <dvander@google.com>
[ Gao Xiang: update document as well. ]
Reviewed-by: Chao Yu <chao@kernel.org>
Link: https://lore.kernel.org/r/20220317114959.106787-1-hsiangkao@linux.alibaba.com
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Documentation/filesystems/erofs.rst
fs/erofs/erofs_fs.h
fs/erofs/inode.c