From: zhangyi (F) Date: Thu, 8 Feb 2018 03:19:10 +0000 (+0800) Subject: overlay: define common overlay xattr keys X-Git-Tag: v2022.05.01~1656 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=a79cd9e16141246555d91f53ce12ebad8ce66668;p=users%2Fhch%2Fxfstests-dev.git overlay: define common overlay xattr keys Define common overlay xattr keys from Linux kernel for ovl tests use. Signed-off-by: zhangyi (F) Reviewed-by: Eryu Guan Signed-off-by: Eryu Guan --- diff --git a/common/overlay b/common/overlay index 16f13a8fb..a8b0e9369 100644 --- a/common/overlay +++ b/common/overlay @@ -3,6 +3,14 @@ # . ./common/module +# Export overlayfs xattrs and constant value +export OVL_XATTR_OPAQUE="trusted.overlay.opaque" +export OVL_XATTR_REDIRECT="trusted.overlay.redirect" +export OVL_XATTR_IMPURE="trusted.overlay.impure" +export OVL_XATTR_ORIGIN="trusted.overlay.origin" +export OVL_XATTR_NLINK="trusted.overlay.nlink" +export OVL_XATTR_UPPER="trusted.overlay.upper" + # helper function to do the actual overlayfs mount operation _overlay_mount_dirs() {