Re: [PATCH] btrfs: update target inode's ctime on unlink

From: Christoph Hellwig
Date: Tue Aug 13 2024 - 09:27:26 EST


On Mon, Aug 12, 2024 at 12:30:52PM -0400, Jeff Layton wrote:
> Unlink changes the link count on the target inode. POSIX mandates that
> the ctime must also change when this occurs.
>
> Signed-off-by: Jeff Layton <jlayton@xxxxxxxxxx>
> ---
> Found using the nfstest_posix testsuite with knfsd exporting btrfs.

Can you also wire this up for xfstests? I suspect other file systems
might have similar issues, so running this as part of normal file system
QA would be helpful.