[f2fs-dev] [PATCH v2] Documentation: filesystems: correct possessive "its"

2022-08-31 Thread Randy Dunlap
Change occurrences of "it's" that are possessive to "its" so that they don't read as "it is". For f2fs.rst, reword one description for better clarity. Signed-off-by: Randy Dunlap Cc: Jonathan Corbet Cc: linux-fsde...@vger.kernel.org Cc: linux-f2fs-devel@lists.sourceforge.net Cc: linux-...@vger.

[f2fs-dev] [PATCH -next] f2fs: add static init_idisk_time function to reduce the code

2022-08-31 Thread Zhang Qilong via Linux-f2fs-devel
We can use a inner function to init the disk time of f2fs_inode_info for cleaning redundant code. Signed-off-by: Zhang Qilong --- fs/f2fs/inode.c | 21 - 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/fs/f2fs/inode.c b/fs/f2fs/inode.c index 1feb0a8a699e..57669

[f2fs-dev] [PATCH v2] fsck.f2fs: use elapsed_time in checkpoint for period check

2022-08-31 Thread Weichao Guo via Linux-f2fs-devel
We now use walltime for monthly period check. However the walltime is: * unstable(timestamp register reset) and settable(modified by user) * unreasonable(e.g: device power-off for one month, no data changed) When the walltime changes to the past before one month or the future after one month, the