]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Fix the build
authorVMware, Inc <>
Mon, 22 Mar 2010 19:12:37 +0000 (12:12 -0700)
committerMarcelo Vanzin <mvanzin@vmware.com>
Mon, 22 Mar 2010 19:12:37 +0000 (12:12 -0700)
Signed-off-by: Marcelo Vanzin <mvanzin@vmware.com>
open-vm-tools/lib/file/filePosix.c

index 16223b27ee85beb34209cdfacf00f783fb08ae20..0922214e38d36de94ee88b86eef4512027422f05 100644 (file)
@@ -1098,6 +1098,34 @@ end:
 }
 
 
+/*
+ *----------------------------------------------------------------------
+ *
+ * File_OnVMFS --
+ *
+ *      Return TRUE if file is on a VMFS file system.
+ *
+ * Results:
+ *      Boolean
+ *
+ * Side effects:
+ *      None
+ *
+ *----------------------------------------------------------------------
+ */
+
+Bool
+File_OnVMFS(ConstUnicode pathName)  // IN:
+{
+   /*
+    * VMFS exists only on ESX and all file systems appear to be directly
+    * attached and VMFS.
+    */
+
+   return HostType_OSIsVMK();
+}
+
+
 #if defined(VMX86_SERVER)
 /*
  *----------------------------------------------------------------------
@@ -1360,38 +1388,9 @@ File_GetVMFSMountInfo(ConstUnicode pathName,
 
    return ret;
 }
-
 #endif 
 
 
-/*
- *----------------------------------------------------------------------
- *
- * File_OnVMFS --
- *
- *      Return TRUE if file is on a VMFS file system.
- *
- * Results:
- *      Boolean
- *
- * Side effects:
- *      None
- *
- *----------------------------------------------------------------------
- */
-
-Bool
-File_OnVMFS(ConstUnicode pathName)  // IN:
-{
-   /*
-    * VMFS exists only on ESX and all file systems appear to be directly
-    * attached and VMFS.
-    */
-
-   return HostType_OSIsVMK();
-}
-
-
 /*
  *----------------------------------------------------------------------
  *