return isSubPath;
}
+
+/*
+ *---------------------------------------------------------------------------
+ *
+ * File_DoesVolumeSupportConvertBlocks --
+ *
+ * Does the volume support the new convert block allocation
+ * IOCTL?
+ *
+ * Results:
+ * TRUE Yes
+ * FALSE No
+ *
+ * Side effects:
+ * None
+ *
+ *---------------------------------------------------------------------------
+ */
+
+Bool
+File_DoesVolumeSupportConvertBlocks(const char *pathName) // IN:
+{
+#if defined(VMX86_SERVER)
+ uint32 vmfsVersion;
+ return (File_GetVMFSVersion(pathName, &vmfsVersion) >= 0 &&
+ vmfsVersion >= 6);
+#else
+ UNUSED_VARIABLE(pathName);
+ return FALSE;
+#endif
+}
Bool File_IsSubPathOf(const char *base, const char *path);
+Bool File_DoesVolumeSupportConvertBlocks(const char *pathName);
+
/*
*---------------------------------------------------------------------------
*