1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

Allow us to pass RAW-RENAME by testing that the connection struct

connection paths are equal, not just the conn structs themselves.
Jeremy.
This commit is contained in:
Jeremy Allison
2008-03-11 13:38:25 -07:00
parent 9065792d4b
commit 632f3fe66f

View File

@ -5295,7 +5295,7 @@ static void rename_open_files(connection_struct *conn,
sharepaths we need to manipulate relative paths. */
/* TODO - create the absolute path and manipulate the newname
relative to the sharepath. */
if (fsp->conn != conn) {
if (!strequal(fsp->conn->connectpath, conn->connectpath)) {
continue;
}
DEBUG(10,("rename_open_files: renaming file fnum %d (file_id %s) from %s -> %s\n",