]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
tmpfs: add support for multigrain timestamps
authorJeff Layton <jlayton@kernel.org>
Mon, 7 Aug 2023 19:38:41 +0000 (15:38 -0400)
committerChristian Brauner <brauner@kernel.org>
Fri, 11 Aug 2023 07:04:57 +0000 (09:04 +0200)
commitd48c3397291690c3576d6c983b0a86ecbc203cac
tree3d92a4e17c86a28314290553062698bf71392104
parentffb6cf19e06334062744b7e3493f71e500964f8e
tmpfs: add support for multigrain timestamps

Enable multigrain timestamps, which should ensure that there is an
apparent change to the timestamp whenever it has been written after
being actively observed via getattr.

tmpfs only requires the FS_MGTIME flag.

Reviewed-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Message-Id: <20230807-mgctime-v7-10-d1dec143a704@kernel.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
mm/shmem.c