[PATCH 05/14] fs: remove inode_update_time
Christoph Hellwig
hch at lst.de
Tue Nov 18 22:25:01 PST 2025
On Mon, Nov 17, 2025 at 06:59:25AM +0000, Chaitanya Kulkarni wrote:
> > - ret = inode_update_time(inode, sync_mode);
> > + if (inode->i_op->update_time)
> > + ret = inode->i_op->update_time(inode, sync_mode);
> > + else
> > + generic_update_time(inode, sync_mode);
> > mnt_put_write_access_file(file);
> > return ret;
> > }
>
> do you need to catch the value from generic_update_time() to match
> if case ? although original code was returning 0 for generic_update_time()
> case :
Yes. It doesn't matter for this series, but it's good future-proofing.
More information about the linux-mtd
mailing list