[PATCH 01/79] fs: add ctime accessors infrastructure

Luis Chamberlain mcgrof at kernel.org
Fri Jun 30 21:45:44 UTC 2023


On Wed, Jun 21, 2023 at 10:45:06AM -0400, Jeff Layton wrote:
> struct timespec64 has unused bits in the tv_nsec field that can be used
> for other purposes. In future patches, we're going to change how the
> inode->i_ctime is accessed in certain inodes in order to make use of
> them. In order to do that safely though, we'll need to eradicate raw
> accesses of the inode->i_ctime field from the kernel.
> 
> Add new accessor functions for the ctime that we can use to replace them.
> 
> Signed-off-by: Jeff Layton <jlayton at kernel.org>

Reviewed-by: Luis Chamberlain <mcgrof at kernel.org>

  Luis



More information about the Linux-security-module-archive mailing list