Re: [PATCH v5 2/5] vfs: Add checks for filesystem timestamp limits

From: Linus Torvalds
Date: Sat Apr 08 2017 - 16:05:28 EST


On Sat, Apr 8, 2017 at 12:37 PM, Deepa Dinamani <deepa.kernel@xxxxxxxxx> wrote:
> Allow read only mounts for filesystems that do not
> have maximum timestamps beyond the y2038 expiry
> timestamp.

This option seems arbitrary and pointless.

Nobody sane should ever enable it except for testing, but for testing
it would be much better to simply specify what the limit should be:
2038 is not magical for all filesystems, because the base may be
different.

And honestly, for testing, it would be much better to just make it a
mount option rather than some crazy system-wide one.

Linus