[PATCH 05/11] fs: refactor ->update_time handling

Christoph Hellwig hch at lst.de
Tue Jan 6 23:35:52 PST 2026


On Tue, Jan 06, 2026 at 12:48:47PM +0100, Jan Kara wrote:
> > +static int inode_update_cmtime(struct inode *inode)
> > +{
> > +	struct timespec64 now = inode_set_ctime_current(inode);
> 
> This needs to be below sampling of ctime. Otherwise inode dirtying will be
> broken...

Fixed.




More information about the linux-mtd mailing list