Re: [RFC 0/6] vfs: Add timestamp range check support

From: Deepa Dinamani
Date: Sun Nov 06 2016 - 16:14:41 EST

On Sun, Nov 6, 2016 at 12:28 PM, Arnd Bergmann <arnd@xxxxxxxx> wrote:
> On Sunday, November 6, 2016 9:44:33 AM CET Deepa Dinamani wrote:
>> I will post xfs tests that validate mount and range checking.
>> I will keep the policy same as what the RFC suggests for now.
>> Clamping can be verified once vfs is transitioned to using time64_t.
> Won't it already work as expected on 64-bit architectures as they
> have a 64-bit time_t?

Yes, on 64 bit architectures, it should work fine.
32 bit machines will have wrong clamped timestamps though for some filesystems.

I can post a test for clamping that only works on 64 bit machines.