overlay: another test for dropping nlink below zero
authorAmir Goldstein <amir73il@gmail.com>
Mon, 20 Apr 2020 10:34:53 +0000 (13:34 +0300)
committerEryu Guan <guaneryu@gmail.com>
Sun, 10 May 2020 12:24:11 +0000 (20:24 +0800)
commit98a6203999a0270d5e0b8ab3ca9a995527e5def4
treee6fc54e0d0f46a1cd93665fe9285a34dc7233010
parentf3bdafb91bb2960bc4110935be9f66541207d0ff
overlay: another test for dropping nlink below zero

This is a variant on test overlay/034.

This variant is mangling upper hardlinks instead of lower hardlinks
and does not require the inodes index feature.

This is a regression test for kernel commit 83552eacdfc0
("ovl: fix WARN_ON nlink drop to zero")

Signed-off-by: Amir Goldstein <amir73il@gmail.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/overlay/072 [new file with mode: 0755]
tests/overlay/072.out [new file with mode: 0644]
tests/overlay/group