]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
NFS: Fix a typo in nfs_call_unlink()
authorTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 21 Oct 2007 16:02:22 +0000 (12:02 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sun, 21 Oct 2007 17:37:07 +0000 (13:37 -0400)
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
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);