From: VMware, Inc <> Date: Wed, 18 Sep 2013 03:16:10 +0000 (-0700) Subject: HGFS: Fix build on Linux 3.10-rc1 X-Git-Tag: 2013.09.16-1328054~105 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df7a9a235364cd9c2f28c72ef1c54f857d0894b9;p=thirdparty%2Fopen-vm-tools.git HGFS: Fix build on Linux 3.10-rc1 The kernel changes broke the asynchronous read and write HGFS client code which picks out the dentry from within the kiocb struct. Include the header file directly now for newer kernel versions. Signed-off-by: Dmitry Torokhov --- diff --git a/open-vm-tools/modules/linux/vmhgfs/file.c b/open-vm-tools/modules/linux/vmhgfs/file.c index 10339844b..06337b274 100644 --- a/open-vm-tools/modules/linux/vmhgfs/file.c +++ b/open-vm-tools/modules/linux/vmhgfs/file.c @@ -33,6 +33,11 @@ #include "compat_kernel.h" #include "compat_slab.h" +/* Must be after compat_fs.h */ +#if defined VMW_USE_AIO +#include +#endif + #include "cpName.h" #include "hgfsProto.h" #include "module.h"