_notrun "Require fcntl advisory locks support"
}
+# XFS ability to change UUIDs on V5/CRC filesystems
+#
+_require_meta_uuid()
+{
+ # This will create a crc fs on $SCRATCH_DEV
+ _require_xfs_crc
+
+ $XFS_DB_PROG -x -c "uuid generate" $SCRATCH_DEV >/dev/null 2>&1 \
+ || _notrun "Userspace doesn't support meta_uuid feature"
+
+ _scratch_mount >/dev/null 2>&1 \
+ || _notrun "Kernel doesn't support meta_uuid feature"
+ umount $SCRATCH_MNT
+}
+
_get_total_inode()
{
if [ -z "$1" ]; then