This patch fixes the shared folders module in Linux Kernel 4.7
The kernel module now compiles and works on VMWare Fusion 8.1.1
It fixes:
Use inode_lock() rather than compat_mutex_unlock() in dir.c
remove macro 'CACHE' from PAGE_CACHE_SIZE, PAGE_CACHE_MASK and PAGE_CACHE_SHIFT as these preprocessor macros have been removed. Also fix page_cache_get() and page_cache_release() to get_page()/put_page() respectively.
New function HgfsGetlink() to use new get_link() API over follow_link() {now depreciated in 4.7}
Outstanding bugs:
readlink_copy is no longer exported in 4.7 and so taint the kernel when loaded. PR to fix soon.
This patch fixes the shared folders module in Linux Kernel 4.7 The kernel module now compiles and works on VMWare Fusion 8.1.1
It fixes:
Outstanding bugs: