mirror of
https://github.com/samba-team/samba.git
synced 2025-03-03 12:58:35 +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 used to be commit 632f3fe66fbcbe3cc25d070c3885177264f5ad65)
This commit is contained in:
parent
bac7b5b19e
commit
b7a014a6ee
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user