From 33a9685a09ba048d7f8866a9e7d59da0484838a1 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sat, 25 Jun 2011 21:45:21 -0400 Subject: [PATCH] --- yaml --- r: 257341 b: refs/heads/master c: 4352780386139ff33d2203868b392e6535deff61 h: refs/heads/master i: 257339: b9fdf0b9531f24467a26ce98c5067c513241d181 v: v3 --- [refs] | 2 +- trunk/fs/cifs/dir.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index 77619f3593b1..aa7ac7d72fc0 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a127e0af59ab610e8b37ac2dfa4cdb2ec8c8f604 +refs/heads/master: 4352780386139ff33d2203868b392e6535deff61 diff --git a/trunk/fs/cifs/dir.c b/trunk/fs/cifs/dir.c index 251c2ca569d3..14d602f178c2 100644 --- a/trunk/fs/cifs/dir.c +++ b/trunk/fs/cifs/dir.c @@ -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,