]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
overlay/078: Fix cleanup with unpatched kernel
authorAmir Goldstein <amir73il@gmail.com>
Tue, 3 Aug 2021 07:07:58 +0000 (10:07 +0300)
committerEryu Guan <guaneryu@gmail.com>
Sun, 8 Aug 2021 14:37:41 +0000 (22:37 +0800)
commitde1196dcd9b618d777604cdaa030f0c06e7a8c64
tree8b9c456f546017f373a3a04f002242fd60b73775
parentc124d3a3116da44ed896d778c12eee34f5635f1c
overlay/078: Fix cleanup with unpatched kernel

Darrick wrote: "...
I noticed a massive regression with this week's fstests,
probably because something didn't get cleaned up properly:
...
+rm: cannot remove '/opt/ovl-upper/testfile': Operation not permitted
...

and then the tests after it (e.g. generic/030) fail with:

+mount: /opt/ovl-mnt: mount(2) system call failed: Stale file handle.
..."

Link: https://lore.kernel.org/fstests/20210802230727.GC3601425@magnolia/
Reported-by: Darrick J. Wong <djwong@kernel.org>
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/078