Re: [PATCH v2] fat: add KUnit tests for timestamp conversion helpers

From: Christian Brauner

Date: Tue Mar 24 2026 - 03:55:01 EST


On Mon, 16 Mar 2026 00:24:04 +0200, aviv.daum@xxxxxxxxx wrote:
> Extend fat_test with coverage for FAT timestamp edge cases that are not
> currently exercised.
>
> Add tests for fat_time_unix2fat() clamping at the UTC boundaries and
> when time_offset pushes an otherwise valid timestamp outside the FAT
> date range. Also cover the NULL time_cs path used by existing callers,
> and verify fat_truncate_atime() truncation across timezone offsets.
>
> [...]

Applied to the vfs-7.1.fat branch of the vfs/vfs.git tree.
Patches in the vfs-7.1.fat branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.

tree: https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs-7.1.fat

[1/1] fat: add KUnit tests for timestamp conversion helpers
https://git.kernel.org/vfs/vfs/c/24d061105f04