]> git.baikalelectronics.ru Git - kernel.git/commit
fs: fat: Initialize filesystem timestamp ranges
authorDeepa Dinamani <deepa.kernel@gmail.com>
Fri, 22 Mar 2019 23:42:54 +0000 (16:42 -0700)
committerDeepa Dinamani <deepa.kernel@gmail.com>
Fri, 30 Aug 2019 14:27:18 +0000 (07:27 -0700)
commit80fbbc2799996f995dcbe9204ed25fd2a5c3637d
tree4b8b97bde36749aea9882b36cfbfb2bed22531dc
parent16d9b67c50236ef317f2c7ce33cde4e8c35aa465
fs: fat: Initialize filesystem timestamp ranges

Fill in the appropriate limits to avoid inconsistencies
in the vfs cached inode times when timestamps are
outside the permitted range.

Some FAT variants indicate that the years after 2099 are not supported.
Since commit bdd4cc7d38bb ("fat: Fix and cleanup timestamp conversion")
we support the full range of years that can be represented, up to 2107.

Signed-off-by: Deepa Dinamani <deepa.kernel@gmail.com>
Acked-by: Jeff Layton <jlayton@kernel.org>
Cc: hirofumi@mail.parknet.co.jp
fs/fat/inode.c