commit | 55b70a0300b873c0ec7ea6e33752af56f41250ce | [log] [tgz] |
---|---|---|
author | Trond Myklebust <Trond.Myklebust@netapp.com> | Sun Oct 21 12:02:22 2007 -0400 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Sun Oct 21 13:37:07 2007 -0400 |
tree | 0329a0fbb4bfd0aac97310eeab9be8394b4b8ab0 | |
parent | bad2a524113075d1e0665f1e111283ab25135ade [diff] [blame] |
NFS: Fix a typo in nfs_call_unlink() Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
diff --git a/fs/nfs/unlink.c b/fs/nfs/unlink.c index ce558c2..233ad38 100644 --- a/fs/nfs/unlink.c +++ b/fs/nfs/unlink.c
@@ -171,7 +171,7 @@ 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);