From 3a5a8a5cda4a7b34e061c81ac6b23fd088185422 Mon Sep 17 00:00:00 2001 From: Steve French Date: Sun, 20 Jan 2008 00:30:29 +0000 Subject: [PATCH] --- yaml --- r: 77304 b: refs/heads/master c: ed2b91701d97047fa9970645e43d5e551e261adb h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/cifs/dir.c | 10 ++++------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/[refs] b/[refs] index eeb503275542..e70c85297f7c 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: e6ab15827eec0bc4444421f7ccf0223de321c708 +refs/heads/master: ed2b91701d97047fa9970645e43d5e551e261adb diff --git a/trunk/fs/cifs/dir.c b/trunk/fs/cifs/dir.c index 37dc97af1487..699ec1198409 100644 --- a/trunk/fs/cifs/dir.c +++ b/trunk/fs/cifs/dir.c @@ -517,12 +517,10 @@ cifs_lookup(struct inode *parent_dir_inode, struct dentry *direntry, d_add(direntry, NULL); /* if it was once a directory (but how can we tell?) we could do shrink_dcache_parent(direntry); */ - } else { - cERROR(1, ("Error 0x%x on cifs_get_inode_info in lookup of %s", - rc, full_path)); - /* BB special case check for Access Denied - watch security - exposure of returning dir info implicitly via different rc - if file exists or not but no access BB */ + } else if (rc != -EACCES) { + cERROR(1, ("Unexpected lookup error %d", rc)); + /* We special case check for Access Denied - since that + is a common return code */ } kfree(full_path);