fat: split fat_truncate_time() into separate functions
authorChung-Chiang Cheng <cccheng@synology.com>
Tue, 3 May 2022 15:25:33 +0000 (23:25 +0800)
committerakpm <akpm@linux-foundation.org>
Thu, 19 May 2022 21:10:31 +0000 (14:10 -0700)
commit4dcc3f96e7439f9a3a6e47d7fc147aad1338ddc4
treeeef9c96d79028d2e89b36e2706392ba6da3fa950
parent504ed164d7cd858d25ed5e3413928e1397f4c567
fat: split fat_truncate_time() into separate functions

Separate fat_truncate_time() to each timestamps for later creation time
work.

This patch does not introduce any functional changes, it's merely
refactoring change.

Link: https://lkml.kernel.org/r/20220503152536.2503003-1-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>
fs/fat/fat.h
fs/fat/misc.c