[PATCH 04/11] fat: cleanup the flags for fat_truncate_time
OGAWA Hirofumi
hirofumi at mail.parknet.co.jp
Tue Jan 6 09:55:06 PST 2026
OGAWA Hirofumi <hirofumi at mail.parknet.co.jp> writes:
> 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.
Ah, I was overlooking that new value is using same value with S_*.
So
Acked-by: OGAWA Hirofumi <hirofumi at mail.parknet.co.jp>
Thanks.
--
OGAWA Hirofumi <hirofumi at mail.parknet.co.jp>
More information about the linux-mtd
mailing list