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> Git-commit: 81df1ad40644b706a1cdbd28a1471f9f0c0ea3e8 Git-repo: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Signed-off-by:
lixiang <lixiang@codeaurora.org>
Loading
Please register or sign in to comment