[PATCH 04/11] fat: cleanup the flags for fat_truncate_time
OGAWA Hirofumi
hirofumi at mail.parknet.co.jp
Tue Jan 6 02:45:17 PST 2026
Christoph Hellwig <hch at lst.de> writes:
> Fat only has a single on-disk timestamp covering ctime and mtime. Add
> fat-specific flags that indicate which timestamp fat_truncate_time should
> update to make this more clear. This allows removing no-op
> fat_truncate_time calls with the S_CTIME flag and prepares for removing
> the S_* flags.
>
> Signed-off-by: Christoph Hellwig <hch at lst.de>
This breaks fat_update_time() by calling fat_truncate_time() with old
S_* flags (later patch looks like fixing though). Please add the commit
comment about it, or fix it in this patch.
Thanks.
--
OGAWA Hirofumi <hirofumi at mail.parknet.co.jp>
More information about the linux-mtd
mailing list