mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
be7b6165bc
Test nlink accounting of overlay hardlinks with offline modifications. nlink of overlay inode should account for the union of lower and upper hardlinks. Orphan index inodes with union nlink 0 should be cleaned on mount. Signed-off-by: Amir Goldstein <amir73il@gmail.com> Reviewed-by: Eryu Guan <eguan@redhat.com> Signed-off-by: Eryu Guan <eguan@redhat.com>
19 lines
372 B
Plaintext
19 lines
372 B
Plaintext
QA output created by 048
|
|
== all upper offline ==
|
|
3 SCRATCH_MNT/0
|
|
3 SCRATCH_MNT/1
|
|
3 SCRATCH_MNT/2
|
|
== unlink upper offline ==
|
|
2 SCRATCH_MNT/1
|
|
2 SCRATCH_MNT/2
|
|
== link upper offline ==
|
|
3 SCRATCH_MNT/1
|
|
3 SCRATCH_MNT/2
|
|
3 SCRATCH_MNT/3
|
|
== rename over upper offline ==
|
|
2 SCRATCH_MNT/2
|
|
2 SCRATCH_MNT/3
|
|
== unlink new upper offline ==
|
|
1 SCRATCH_MNT/2
|
|
== unlink last lower offline ==
|