From f4698ea3faf35026f951271c45d4e854f5603a8a Mon Sep 17 00:00:00 2001 From: Alan Somers Date: Sat, 2 May 2020 10:17:00 -0600 Subject: Skip the OFD locks tests on OverlayFS and musl OFD lock functions don't work as expected on overlayfs, which is a type of union file system. And OVERLAYFS_SUPER_MAGIC isn't defined on musl, at least not yet. --- src/sys/statfs.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/sys') diff --git a/src/sys/statfs.rs b/src/sys/statfs.rs index 3d46be9c..e2b9e6b9 100644 --- a/src/sys/statfs.rs +++ b/src/sys/statfs.rs @@ -72,6 +72,8 @@ pub const NFS_SUPER_MAGIC: FsType = FsType(libc::NFS_SUPER_MAGIC); #[cfg(all(target_os = "linux", not(target_env = "musl"), not(target_arch = "s390x")))] pub const OPENPROM_SUPER_MAGIC: FsType = FsType(libc::OPENPROM_SUPER_MAGIC); #[cfg(all(target_os = "linux", not(target_env = "musl"), not(target_arch = "s390x")))] +pub const OVERLAYFS_SUPER_MAGIC: FsType = FsType(libc::OVERLAYFS_SUPER_MAGIC); +#[cfg(all(target_os = "linux", not(target_env = "musl"), not(target_arch = "s390x")))] pub const PROC_SUPER_MAGIC: FsType = FsType(libc::PROC_SUPER_MAGIC); #[cfg(all(target_os = "linux", not(target_env = "musl"), not(target_arch = "s390x")))] pub const QNX4_SUPER_MAGIC: FsType = FsType(libc::QNX4_SUPER_MAGIC); -- cgit v1.2.3