Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

NFS: Fix a typo in nfs_call_unlink()

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>

+1 -1
+1 -1
fs/nfs/unlink.c
··· 171 171 if (parent == NULL) 172 172 goto out_free; 173 173 dir = parent->d_inode; 174 - if (nfs_copy_dname(dentry, data) == 0) 174 + if (nfs_copy_dname(dentry, data) != 0) 175 175 goto out_dput; 176 176 /* Non-exclusive lock protects against concurrent lookup() calls */ 177 177 spin_lock(&dir->i_lock);