mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-20 14:16:31 +00:00
scst_lib: Kernel 3.13 build fix
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@5181 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -8932,7 +8932,11 @@ void scst_vfs_unlink_and_put(struct nameidata *nd)
|
||||
#else
|
||||
void scst_vfs_unlink_and_put(struct path *path)
|
||||
{
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 13, 0)
|
||||
vfs_unlink(path->dentry->d_parent->d_inode, path->dentry);
|
||||
#else
|
||||
vfs_unlink(path->dentry->d_parent->d_inode, path->dentry, NULL);
|
||||
#endif
|
||||
path_put(path);
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user