]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
HGFS: Fix build on Linux 3.10-rc1
authorVMware, Inc <>
Wed, 18 Sep 2013 03:16:10 +0000 (20:16 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 23 Sep 2013 05:01:53 +0000 (22:01 -0700)
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 <dtor@vmware.com>
open-vm-tools/modules/linux/vmhgfs/file.c

index 10339844b64aa2414fcbc815044bec76f0dce9e3..06337b274886bd0726a5b5e27f0ffcf1d5963896 100644 (file)
 #include "compat_kernel.h"
 #include "compat_slab.h"
 
+/* Must be after compat_fs.h */
+#if defined VMW_USE_AIO
+#include <linux/aio.h>
+#endif
+
 #include "cpName.h"
 #include "hgfsProto.h"
 #include "module.h"