X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=linux_module%2Fiface-file.c;h=1df1d6d590f5bd1237cdde5d93bcb2895f01bd8e;hb=bcab692b40b809c628eb365c199ffd3c757a6cc7;hp=5489764f4889c026ff6293ffb746978f6b15fc2a;hpb=21e93d7fc021590c20ab5fecef03374e008d15e9;p=palacios.git diff --git a/linux_module/iface-file.c b/linux_module/iface-file.c index 5489764..1df1d6d 100644 --- a/linux_module/iface-file.c +++ b/linux_module/iface-file.c @@ -128,7 +128,7 @@ static int palacios_file_mkdir(const char * pathname, unsigned short perms, int struct nameidata nd; // I'm not 100% sure about the version here, but it was around this time that the API changed -#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,35) +#if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,37) ret = kern_path_parent(pathname, &nd); #else