]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
overlay: Do not lose security.capability xattr over metadata only file copy-up
authorVivek Goyal <vgoyal@redhat.com>
Wed, 30 Jan 2019 18:59:37 +0000 (13:59 -0500)
committerEryu Guan <guaneryu@gmail.com>
Sun, 3 Feb 2019 06:39:29 +0000 (14:39 +0800)
commitebc6c083d3bcfd813202d4d743021e44a899f15e
tree1ae42b6a4302c7263332d223e54902d8f3ede549
parent7f3a0bf60d6eed7252b8859eef0570cb543c1bac
overlay: Do not lose security.capability xattr over metadata only file copy-up

Extend test 064 to check security.capability xattr is not lost over
copy-up of a metadata only file. This requires mounting overlay with
option metacopy=on and first trigger metadata only copy-up and then
trigger data copy-up.

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
Reviewed-by: Amir Goldstein <amir73il@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/overlay/064
tests/overlay/064.out