diff options
author | Chung-Chiang Cheng <cccheng@synology.com> | 2022-05-03 18:25:35 +0300 |
---|---|---|
committer | akpm <akpm@linux-foundation.org> | 2022-05-20 00:10:31 +0300 |
commit | 30abce053f811f52688a5b739c3e4ba98d34070d (patch) | |
tree | 80a64ff42bcb18125fa8a36c58054356f37fbee6 /fs/fat/fat.h | |
parent | 0f9d148167c53a7029aba29cdc45072027033b72 (diff) | |
download | linux-30abce053f811f52688a5b739c3e4ba98d34070d.tar.xz |
fat: report creation time in statx
creation time is no longer mixed with change time. Add an in-memory field
for it, and report it in statx if supported.
Link: https://lkml.kernel.org/r/20220503152536.2503003-3-cccheng@synology.com
Signed-off-by: Chung-Chiang Cheng <cccheng@synology.com>
Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/fat/fat.h')
-rw-r--r-- | fs/fat/fat.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/fat/fat.h b/fs/fat/fat.h index b7f60b366030..6ed05ac0e694 100644 --- a/fs/fat/fat.h +++ b/fs/fat/fat.h @@ -126,6 +126,7 @@ struct msdos_inode_info { struct hlist_node i_fat_hash; /* hash by i_location */ struct hlist_node i_dir_hash; /* hash by i_logstart */ struct rw_semaphore truncate_lock; /* protect bmap against truncate */ + struct timespec64 i_crtime; /* File creation (birth) time */ struct inode vfs_inode; }; |