stable/branches/experimental/net-fs/novell-novfs/files/novell-novfs-2.0.0-vfs.patch

12 lines
524 B
Diff

--- novfs-2.0.0/src/daemon.c.orig 2007-05-11 08:55:19.000000000 +0200
+++ novfs-2.0.0/src/daemon.c 2007-05-17 20:37:00.000000000 +0200
@@ -2780,7 +2780,7 @@
{
atomic_inc(&inode->i_count);
}
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,20)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,23)
// Version of 2.6.20 changed the number of
// parameters passed to vfs_unlink.
error = vfs_unlink(nd.dentry->d_inode, dentry, nd.mnt);