diff options
author | Eric Sandeen <sandeen@sandeen.net> | 2020-04-21 04:13:10 +0200 |
---|---|---|
committer | Namjae Jeon <namjae.jeon@samsung.com> | 2020-04-22 13:14:06 +0200 |
commit | 81df1ad40644b706a1cdbd28a1471f9f0c0ea3e8 (patch) | |
tree | f91eeffa36abcb5b6c9c67ce33b8e24e07f576d7 /fs/ubifs/ubifs-media.h | |
parent | exfat: properly set s_time_gran (diff) | |
download | linux-81df1ad40644b706a1cdbd28a1471f9f0c0ea3e8.tar.xz linux-81df1ad40644b706a1cdbd28a1471f9f0c0ea3e8.zip |
exfat: truncate atimes to 2s granularity
The timestamp for access_time has double seconds granularity(There is no
10msIncrement field for access_time unlike create/modify_time).
exfat's atimes are restricted to only 2s granularity so after
we set an atime, round it down to the nearest 2s and set the
sub-second component of the timestamp to 0.
Signed-off-by: Eric Sandeen <sandeen@sandeen.net>
Signed-off-by: Namjae Jeon <namjae.jeon@samsung.com>
Diffstat (limited to 'fs/ubifs/ubifs-media.h')
0 files changed, 0 insertions, 0 deletions