[PATCH v2 07/92] fs: add ctime accessors infrastructure

Damien Le Moal dlemoal at kernel.org
Wed Jul 5 16:12:54 PDT 2023


On 7/6/23 03:58, 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 use to replace them.
> 
> Reviewed-by: Jan Kara <jack at suse.cz>
> Reviewed-by: Luis Chamberlain <mcgrof at kernel.org>
> Signed-off-by: Jeff Layton <jlayton at kernel.org>

Looks OK to me.

Reviewed-by: Damien Le Moal <dlemoal at kernel.org>

-- 
Damien Le Moal
Western Digital Research




More information about the linux-mtd mailing list