NOTICE: This patch works fine with 3.5.0 and 3.6.0-rc1
Another version of the kernel another broken module…
This time it was something easier and with a short solution directly in the kernel documentation, but not much said about the reasons for the change (which was done 11 days ago) except that it fixed bugs caused by misuse.
Anyway d_alloc_rot was replaced with d_make_root as said here. So that’s practically the fix to apply to the sources in order to make vmblock build (even though vmware seems to start also with this module not running).
The patch should be easy to apply also for 7.1.x vmware modules (but I’m not providing a patch as I don’t have the sources anymore).
This is the procedure:
Open vmblock.tar and search for filesystem.c. Then there search for d_alloc_root(rootInode). That needs to be replaced with d_make_root(rootInode). This will make vmblock build successfully.
And here it is the easier way for 8.0.x/4.0.x users: vmware 8.0.2 fix for linux 3.4.0
Remember that if you apply the patch you’ve to always start with clean module sources from 8.0.2 release. Also be careful that vmware, when uninstalled, doesn’t clean entirely it’s modules folder, so remember to do so before reinstalling it.