]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
overlay: remove dir which contains whiteout from lower dir
authorEryu Guan <eguan@redhat.com>
Wed, 29 Jun 2016 10:39:12 +0000 (18:39 +0800)
committerEryu Guan <eguan@redhat.com>
Fri, 1 Jul 2016 03:17:08 +0000 (11:17 +0800)
commita1c4e17d4a9531fb160921755376d1b0dbe48765
treebce6e50214e05f6892a8a6604aa66615c44c5bc3
parent4ae7290adcb748a17b89f0104e2df98ae601270d
overlay: remove dir which contains whiteout from lower dir

Test the removal of a dir which contains whiteout from lower dir,
which could crash the kernel.

The following kernel commit fixed this issue
84889d4 ovl: check dentry positiveness in ovl_cleanup_whiteouts()

Reviewed-by: Xiong Zhou <xzhou@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/overlay/010 [new file with mode: 0755]
tests/overlay/010.out [new file with mode: 0644]
tests/overlay/group