Re: [PATCH] fs: Fix truncate never updates m/ctime

From: Christoph Hellwig
Date: Tue Nov 16 2021 - 00:56:34 EST


On Tue, Nov 16, 2021 at 11:58:10AM +0800, Jubin Zhong wrote:
> I work on embedded devices so concern about jffs2/yaffs2/ubifs the most.
> If there are any errors in my test program please let me know.

It seems like you need to fix jffs2 to implement the proper semantics
in its ->setattr.