]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
overlay: create directory over deleted whiteout
authorMiklos Szeredi <mszeredi@redhat.com>
Mon, 12 Nov 2018 09:48:18 +0000 (10:48 +0100)
committerEryu Guan <guaneryu@gmail.com>
Sun, 18 Nov 2018 12:37:13 +0000 (20:37 +0800)
commit98a4eb33deb500b48ebcf6e3f4aa99786c04f5f7
tree0fc46c29daa593605999ed79d33916b9e452f2ad
parent86aad197875e1dc5a35adf6245441f3cf9736c2a
overlay: create directory over deleted whiteout

There's a bug in the overlayfs implementation starting from the very
first merged version that may cause an Oops of various forms if a
directory is created over a whiteout dentry, but the actual whiteout
on the upper layer was removed to the directory creation.

Reported by: kaixuxia <xiakaixu1987@gmail.com>
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/overlay/063 [new file with mode: 0755]
tests/overlay/063.out [new file with mode: 0644]
tests/overlay/group