diff options
author | Volker Lendecke <vlendec@samba.org> | 2007-06-18 12:22:42 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:23:26 -0500 |
commit | 8908bd64eab93e763d8b943732bc19ed9d276eb2 (patch) | |
tree | d2237f963c6ff533ce275e8254c487dcc60020e8 /source3/smbd | |
parent | 864cad1353867a4092e4ba4b46721f91ada64ca9 (diff) | |
download | samba-8908bd64eab93e763d8b943732bc19ed9d276eb2.tar.gz samba-8908bd64eab93e763d8b943732bc19ed9d276eb2.tar.bz2 samba-8908bd64eab93e763d8b943732bc19ed9d276eb2.zip |
r23538: Fix for wild-card rename: We can't return directly on error, we need to
CloseDir.
(This used to be commit 48cdafc10a0eb615d79057ec9e235ffe9a85e016)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/reply.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index e2b7084f11..41665e1676 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -4689,7 +4689,7 @@ NTSTATUS rename_internals(connection_struct *conn, DEBUG(3,("rename_internals: open_file_ntcreate " "returned %s rename %s -> %s\n", nt_errstr(status), directory, newname)); - return status; + break; } status = rename_internals_fsp(conn, fsp, destname, attrs, @@ -4701,7 +4701,7 @@ NTSTATUS rename_internals(connection_struct *conn, DEBUG(3, ("rename_internals_fsp returned %s for " "rename %s -> %s\n", nt_errstr(status), directory, newname)); - return status; + break; } count++; |