git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25d27ff
)
Fix bug #7234 - Symlink delete fails but incorrectly reports success to client.
author
Jeremy Allison
<jra@samba.org>
Wed, 10 Mar 2010 22:06:18 +0000
(14:06 -0800)
committer
Jeremy Allison
<jra@samba.org>
Wed, 10 Mar 2010 22:08:30 +0000
(14:08 -0800)
Typo called LSTAT instead of STAT in the unlink by pathname path.
Jeremy.
source3/smbd/reply.c
patch
|
blob
|
history
diff --git
a/source3/smbd/reply.c
b/source3/smbd/reply.c
index 7147fbe1f2dcfc289e65f27834cce9d8c7bfe4d5..7d0fa7728a9a35808965cb23a13ea4cb1c779cd6 100644
(file)
--- a/
source3/smbd/reply.c
+++ b/
source3/smbd/reply.c
@@
-2403,7
+2403,7
@@
static NTSTATUS do_unlink(connection_struct *conn,
if (posix_paths) {
ret = SMB_VFS_LSTAT(conn, smb_fname);
} else {
- ret = SMB_VFS_
L
STAT(conn, smb_fname);
+ ret = SMB_VFS_STAT(conn, smb_fname);
}
if (ret != 0) {
return map_nt_error_from_unix(errno);