Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 257341
b: refs/heads/master
c: 4352780
h: refs/heads/master
i:
  257339: b9fdf0b
v: v3
  • Loading branch information
Al Viro committed Jul 20, 2011
1 parent c6b0862 commit 33a9685
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a127e0af59ab610e8b37ac2dfa4cdb2ec8c8f604
refs/heads/master: 4352780386139ff33d2203868b392e6535deff61
2 changes: 1 addition & 1 deletion trunk/fs/cifs/dir.c
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ cifs_lookup(struct inode *parent_dir_inode, struct dentry *direntry,
* reduction in network traffic in the other paths.
*/
if (pTcon->unix_ext) {
if (nd && !(nd->flags & (LOOKUP_PARENT | LOOKUP_DIRECTORY)) &&
if (nd && !(nd->flags & LOOKUP_DIRECTORY) &&
(nd->flags & LOOKUP_OPEN) && !pTcon->broken_posix_open &&
(nd->intent.open.file->f_flags & O_CREAT)) {
rc = cifs_posix_open(full_path, &newInode,
Expand Down

0 comments on commit 33a9685

Please sign in to comment.