968 B
968 B
Test Case: Parent Vnode Lookup Behavior
Test ID: TC054-vn-vget-ino Category: VFS Integration Priority: High
Objective
Verify repeated dotdot lookups return the correct stable parent vnode without deadlock. This is behavior-level coverage of the vn_vget_ino path; userspace cannot prove the internal helper call by timing.
Procedure
Mount vfs/vfs-plain.erofs and run:
stat -f 'ino=%i gen=%v type=%HT' \
/tmp/repo22-g3/mnt/parent > TC054-parent.txt
stat -f 'ino=%i gen=%v type=%HT' \
/tmp/repo22-g3/mnt/parent/child/.. > TC054-dotdot1.txt
stat -f 'ino=%i gen=%v type=%HT' \
/tmp/repo22-g3/mnt/parent/child/.. > TC054-dotdot2.txt
cmp TC054-parent.txt TC054-dotdot1.txt
cmp TC054-dotdot1.txt TC054-dotdot2.txt
Expected Results
All commands complete, metadata is identical, and dmesg has no lock-order, trap, or panic report. Record behavior and cleanup without claiming direct internal instrumentation.