You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
418 B
15 lines
418 B
--- a/vmblock-only/linux/filesystem.c 2012-05-23 20:08:00.632051396 -0500
|
|
+++ b/vmblock-only/linux/filesystem.c 2012-05-23 20:17:00.896297163 -0500
|
|
@@ -517,7 +517,11 @@
|
|
return -EINVAL;
|
|
}
|
|
|
|
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 4, 0)
|
|
rootDentry = d_alloc_root(rootInode);
|
|
+#else
|
|
+ rootDentry = d_make_root(rootInode);
|
|
+#endif
|
|
if (!rootDentry) {
|
|
iput(rootInode);
|
|
return -ENOMEM;
|