]> git.dujemihanovic.xyz Git - u-boot.git/commit
fs: fat: fill creation and change date
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 9 Apr 2024 20:06:07 +0000 (22:06 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 17 Apr 2024 23:06:06 +0000 (17:06 -0600)
commitba23c378c54470923c5dc33f8daff8598da8e2be
tree18c0d6bd773ca5269c7631053e0bfe5613cedfca
parent3c1bc9f15c18149a26fbd7f604f76f949a29bc7d
fs: fat: fill creation and change date

The FAT specification requires that the change date is set.

If a DM RTC device exists, set the creation and change date to the current
date when updating the directory entry. Otherwise use the date 2020-01-01.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
fs/fat/fat_write.c