aboutsummaryrefslogtreecommitdiffstats
path: root/fs/exfat/namei.c
diff options
context:
space:
mode:
authorTetsuhiro Kohada <kohada.t2@gmail.com>2020-04-22 08:30:56 +0900
committerNamjae Jeon <namjae.jeon@samsung.com>2020-06-09 16:49:00 +0900
commited0f84d30ba65f44bed2739572c7ab0fdeed4004 (patch)
treef1c4eda922f3fbb4665c268eafd05c5cc0f0d376 /fs/exfat/namei.c
parentexfat: remove the assignment of 0 to bool variable (diff)
downloadlinux-dev-ed0f84d30ba65f44bed2739572c7ab0fdeed4004.tar.xz
linux-dev-ed0f84d30ba65f44bed2739572c7ab0fdeed4004.zip
exfat: replace 'time_ms' with 'time_cs'
Replace time_ms with time_cs in the file directory entry structure and related functions. The unit of create_time_ms/modify_time_ms in File Directory Entry are not 'milli-second', but 'centi-second'. The exfat specification uses the term '10ms', but instead use 'cs' as in msdos_fs.h. Signed-off-by: Tetsuhiro Kohada <kohada.t2@gmail.com> Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Diffstat (limited to 'fs/exfat/namei.c')
-rw-r--r--fs/exfat/namei.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/exfat/namei.c b/fs/exfat/namei.c
index fa926b9c883a..48f4df883f3b 100644
--- a/fs/exfat/namei.c
+++ b/fs/exfat/namei.c
@@ -689,12 +689,12 @@ static int exfat_find(struct inode *dir, struct qstr *qname,
ep->dentry.file.create_tz,
ep->dentry.file.create_time,
ep->dentry.file.create_date,
- ep->dentry.file.create_time_ms);
+ ep->dentry.file.create_time_cs);
exfat_get_entry_time(sbi, &info->mtime,
ep->dentry.file.modify_tz,
ep->dentry.file.modify_time,
ep->dentry.file.modify_date,
- ep->dentry.file.modify_time_ms);
+ ep->dentry.file.modify_time_cs);
exfat_get_entry_time(sbi, &info->atime,
ep->dentry.file.access_tz,
ep->dentry.file.access_time,