diff options
author | Tetsuhiro Kohada <kohada.t2@gmail.com> | 2020-04-22 01:30:56 +0200 |
---|---|---|
committer | Namjae Jeon <namjae.jeon@samsung.com> | 2020-06-09 09:49:00 +0200 |
commit | ed0f84d30ba65f44bed2739572c7ab0fdeed4004 (patch) | |
tree | f1c4eda922f3fbb4665c268eafd05c5cc0f0d376 /fs/exfat/inode.c | |
parent | exfat: remove the assignment of 0 to bool variable (diff) | |
download | linux-ed0f84d30ba65f44bed2739572c7ab0fdeed4004.tar.xz linux-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/inode.c')
-rw-r--r-- | fs/exfat/inode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/exfat/inode.c b/fs/exfat/inode.c index 06887492f54b..3f367d081cd6 100644 --- a/fs/exfat/inode.c +++ b/fs/exfat/inode.c @@ -56,12 +56,12 @@ static int __exfat_write_inode(struct inode *inode, int sync) &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_set_entry_time(sbi, &inode->i_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_set_entry_time(sbi, &inode->i_atime, &ep->dentry.file.access_tz, &ep->dentry.file.access_time, |