]> err.no Git - linux-2.6/blobdiff - fs/nfs/unlink.c
[POWERPC] CPM: Rename commproc to cpm1 and cpm2_common.c to cpm2.c
[linux-2.6] / fs / nfs / unlink.c
index ce558c2e4d53d5779db00bfe79a6a9744c394865..233ad38161f924095e12e26ed4955337b16cdec6 100644 (file)
@@ -171,7 +171,7 @@ static int nfs_call_unlink(struct dentry *dentry, struct nfs_unlinkdata *data)
        if (parent == NULL)
                goto out_free;
        dir = parent->d_inode;
-       if (nfs_copy_dname(dentry, data) == 0)
+       if (nfs_copy_dname(dentry, data) != 0)
                goto out_dput;
        /* Non-exclusive lock protects against concurrent lookup() calls */
        spin_lock(&dir->i_lock);