]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
overlay: notrun if upper fs does not support d_type
authorXiong Zhou <xzhou@redhat.com>
Mon, 9 May 2016 00:55:52 +0000 (10:55 +1000)
committerDave Chinner <david@fromorbit.com>
Mon, 9 May 2016 00:55:52 +0000 (10:55 +1000)
commit8582e24f9414162a95b1ecb52cffcc9c1791f815
treeed7af9458f7c82f083f63a9d08459358b7a25f5a
parenta175556a268ef89deeb275010a87fbecc75ad661
overlay: notrun if upper fs does not support d_type

Overlayfs whiteout can be visible if underlying upper fs does not
support d_type. Kernel commit
45aebea (ovl: Ensure upper filesystem supports d_type)
prevents mounting overlayfs like this since v4.6-rc1.

Check upper fs before mounting overlay, mark as not run if needs.

Signed-off-by: Xiong Zhou <xzhou@redhat.com>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
common/rc