]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
overlay: copy-up lowerdir which has opaque xattr set
authorEryu Guan <eguan@redhat.com>
Mon, 8 Aug 2016 16:45:46 +0000 (00:45 +0800)
committerEryu Guan <eguan@redhat.com>
Thu, 8 Sep 2016 05:54:54 +0000 (13:54 +0800)
commit628d9dbc4989a93ae72d43ca418e06d68791761a
treea55cc116b7398eca2e8c5be57a7be7c52ccad156
parent3e3b49c61a5e55cf56913df5c3a8f8d9b6f98e2d
overlay: copy-up lowerdir which has opaque xattr set

When copying up a directory with opaque xattr set, the xattr was
copied up as well, after a remount the opaque flag is honored so the
copied-up directory is treated as opaque, which causes files created
in the lowerdir to be hidden when using multiple lower directories.

This is fixed by "ovl: don't copy up opaqueness".

Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
tests/overlay/014 [new file with mode: 0755]
tests/overlay/014.out [new file with mode: 0644]
tests/overlay/group