--- a/file.c 2015-08-18 11:00:29.400204979 +0200 +++ b/file.c 2015-08-18 10:58:40.227049557 +0200 @@ -170,8 +170,10 @@ .flush = HgfsFlush, #if defined VMW_USE_AIO #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 16, 0) +#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 1, 0) .read = new_sync_read, .write = new_sync_write, +#endif .read_iter = HgfsFileRead, .write_iter = HgfsFileWrite, #else // LINUX_VERSION_CODE >= KERNEL_VERSION(3, 16, 0)