HomeFreeBSD

Fix pjfstest issue tests/rename/23.t

Description

Fix pjfstest issue tests/rename/23.t

This test creates two files like file0 and file1,
then creates link to file1 and checks ctime on it.
Then renames file0 to file1. Then checks ctime on
link again. It is expected, that second ctime will
be higher then first ctime, because rename happen.
Add ctime updating for directory entry,
which will be deleted on rename.

Reviewed by: kib
MFC after: 2 week
Differential revision: https://reviews.freebsd.org/D38051

Details

Provenance
fsuAuthored on Jan 26 2023, 10:23 AM
Reviewer
kib
Differential Revision
D38051: [tmpfs]: Fix misc issues reproduced by pjdfstest
Parents
rG9ad2d4c4907d: Fix pjfstest issue tests/rename/19.t
Branches
Unknown
Tags
Unknown