diff options
author | Jeremy Allison <jra@samba.org> | 2007-06-12 18:14:16 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:23:16 -0500 |
commit | cacbe41945a8f40193981f4237e28e40b6932f1e (patch) | |
tree | 3496ed2e9fcc9c8c00163132c2079fcc8bcc2e28 /source3/smbd | |
parent | 4a6aaabe6f45171ada79f6d51e2e12296c1086ab (diff) | |
download | samba-cacbe41945a8f40193981f4237e28e40b6932f1e.tar.gz samba-cacbe41945a8f40193981f4237e28e40b6932f1e.tar.bz2 samba-cacbe41945a8f40193981f4237e28e40b6932f1e.zip |
r23445: Fix suggested by Volker. Don't call rename_open_files
if the name wasn't changed.
Jeremy.
(This used to be commit 7a9629365eb4eb2829982fe2b2bfffd840648e6f)
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/reply.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 3a80d9eaa6..6490856f04 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -4638,7 +4638,6 @@ NTSTATUS rename_internals(connection_struct *conn, id = file_id_sbuf(&sbuf1); if (strcsequal(directory, newname)) { - rename_open_files(conn, NULL, id, newname); DEBUG(3, ("rename_internals: identical names in " "rename %s - returning success\n", directory)); @@ -4770,7 +4769,6 @@ NTSTATUS rename_internals(connection_struct *conn, id = file_id_sbuf(&sbuf1); if (strcsequal(fname,destname)) { - rename_open_files(conn, NULL, id, newname); DEBUG(3,("rename_internals: identical names " "in wildcard rename %s - success\n", fname)); |