Commit 17086f79 authored by Brian Kocoloski's avatar Brian Kocoloski

bugfix in kernel version checking

parent 1545181c
......@@ -164,7 +164,7 @@ file_mkdir(const char * pathname,
ret = vfs_mkdir(path_ptr->dentry->d_inode, dentry, perms);
}
#if LINUX_VERSION_CODE < KERNEL_VERSION(4,4,0)
#if LINUX_VERSION_CODE < KERNEL_VERSION(4,4,21)
mutex_unlock(&(path_ptr->dentry->d_inode->i_mutex));
#else
inode_unlock(path_ptr->dentry->d_inode);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment