]> Git Repo - linux.git/commit
fs: new accessor methods for atime and mtime
authorJeff Layton <[email protected]>
Wed, 4 Oct 2023 18:52:37 +0000 (14:52 -0400)
committerChristian Brauner <[email protected]>
Wed, 18 Oct 2023 11:26:14 +0000 (13:26 +0200)
commit077c212f0344ae4198b2b51af128a94b614ccdf4
tree3198ee515f0457d13f6fc1b1c10d293bcf51df83
parent94f6f0550c625fab1f373bb86a6669b45e9748b3
fs: new accessor methods for atime and mtime

Recently, we converted the ctime accesses in the kernel to use new
accessor functions. Linus recently pointed out though that if we add
accessors for the atime and mtime, then that would allow us to
seamlessly change how these timestamps are stored in the inode.

Add new accessor functions for the atime and mtime that mirror the
accessors for the ctime.

Signed-off-by: Jeff Layton <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Christian Brauner <[email protected]>
fs/libfs.c
include/linux/fs.h
This page took 0.058909 seconds and 4 git commands to generate.