From: VMware, Inc <> Date: Mon, 22 Mar 2010 19:12:37 +0000 (-0700) Subject: Fix the build X-Git-Tag: 2010.03.20-243334~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7fbfb0689722d2d53657cd391e734c323a0d687;p=thirdparty%2Fopen-vm-tools.git Fix the build Signed-off-by: Marcelo Vanzin --- diff --git a/open-vm-tools/lib/file/filePosix.c b/open-vm-tools/lib/file/filePosix.c index 16223b27e..0922214e3 100644 --- a/open-vm-tools/lib/file/filePosix.c +++ b/open-vm-tools/lib/file/filePosix.c @@ -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(); -} - - /* *---------------------------------------------------------------------- *