aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/dir.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/cifs/dir.c')
-rw-r--r--fs/cifs/dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/cifs/dir.c b/fs/cifs/dir.c
index d3a6b07e3355..1f42f772865a 100644
--- a/fs/cifs/dir.c
+++ b/fs/cifs/dir.c
@@ -643,7 +643,7 @@ cifs_lookup(struct inode *parent_dir_inode, struct dentry *direntry,
643 */ 643 */
644 if (nd && (nd->flags & LOOKUP_EXCL)) { 644 if (nd && (nd->flags & LOOKUP_EXCL)) {
645 d_instantiate(direntry, NULL); 645 d_instantiate(direntry, NULL);
646 return 0; 646 return NULL;
647 } 647 }
648 648
649 /* can not grab the rename sem here since it would 649 /* can not grab the rename sem here since it would