diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-10-21 12:02:22 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2007-10-21 13:37:07 -0400 |
commit | 55b70a0300b873c0ec7ea6e33752af56f41250ce (patch) | |
tree | 0329a0fbb4bfd0aac97310eeab9be8394b4b8ab0 /fs/nfs | |
parent | bad2a524113075d1e0665f1e111283ab25135ade (diff) |
NFS: Fix a typo in nfs_call_unlink()
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs')
-rw-r--r-- | fs/nfs/unlink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/nfs/unlink.c b/fs/nfs/unlink.c index ce558c2e4d53..233ad38161f9 100644 --- a/fs/nfs/unlink.c +++ b/fs/nfs/unlink.c | |||
@@ -171,7 +171,7 @@ static int nfs_call_unlink(struct dentry *dentry, struct nfs_unlinkdata *data) | |||
171 | if (parent == NULL) | 171 | if (parent == NULL) |
172 | goto out_free; | 172 | goto out_free; |
173 | dir = parent->d_inode; | 173 | dir = parent->d_inode; |
174 | if (nfs_copy_dname(dentry, data) == 0) | 174 | if (nfs_copy_dname(dentry, data) != 0) |
175 | goto out_dput; | 175 | goto out_dput; |
176 | /* Non-exclusive lock protects against concurrent lookup() calls */ | 176 | /* Non-exclusive lock protects against concurrent lookup() calls */ |
177 | spin_lock(&dir->i_lock); | 177 | spin_lock(&dir->i_lock); |