vfs: Add file timestamp range support
authorDeepa Dinamani <deepa.kernel@gmail.com>
Mon, 22 Jan 2018 02:04:23 +0000 (18:04 -0800)
committerDeepa Dinamani <deepa.kernel@gmail.com>
Fri, 30 Aug 2019 14:27:17 +0000 (07:27 -0700)
commit188d20bcd1ebd8277d9b8a79525bd66b66d40a2a
treeb064ec8f02616f2c465a50d6acab00b7f4ee2eb7
parenta55aa89aab90fae7c815b0551b07be37db359d76
vfs: Add file timestamp range support

Add fields to the superblock to track the min and max
timestamps supported by filesystems.

Initially, when a superblock is allocated, initialize
it to the max and min values the fields can hold.
Individual filesystems override these to match their
actual limits.

Pseudo filesystems are assumed to always support the
min and max allowable values for the fields.

Signed-off-by: Deepa Dinamani <deepa.kernel@gmail.com>
Acked-by: Jeff Layton <jlayton@kernel.org>
fs/super.c
include/linux/fs.h
include/linux/time64.h