diff options
author | Steve French <stevef@stevef95> | 2005-05-17 13:16:18 -0500 |
---|---|---|
committer | Steve French <stevef@stevef95> | 2005-05-17 13:16:18 -0500 |
commit | b2aeb9d565be5ef00fb9f921c6d2459c74d90cdf (patch) | |
tree | e7adab50ce6a13ef5ceb0fbb3d1208ae63523dc9 /fs/cifs/dir.c | |
parent | 67594feb4b68074d8807f5566536e06db9130679 (diff) | |
download | op-kernel-dev-b2aeb9d565be5ef00fb9f921c6d2459c74d90cdf.zip op-kernel-dev-b2aeb9d565be5ef00fb9f921c6d2459c74d90cdf.tar.gz |
[CIFS] Fix oops in cifs_unlink. Caused in some cases when renaming over existing,
newly created, file.
Samba bugzilla: 2697
Signed-off-by: Steve French (sfrench@us.ibm.com)
Diffstat (limited to 'fs/cifs/dir.c')
-rw-r--r-- | fs/cifs/dir.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/cifs/dir.c b/fs/cifs/dir.c index e3137aa..3f3538d 100644 --- a/fs/cifs/dir.c +++ b/fs/cifs/dir.c @@ -392,7 +392,8 @@ cifs_lookup(struct inode *parent_dir_inode, struct dentry *direntry, struct name rc = 0; d_add(direntry, NULL); } else { - cERROR(1,("Error 0x%x or on cifs_get_inode_info in lookup",rc)); + 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 */ |