1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

s3: libsmb: Cleanup - remove unused fname_src parameter from cli_dfs_target_check().

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
This commit is contained in:
Jeremy Allison 2022-09-02 11:00:09 -07:00
parent c7749103b2
commit dfd7c6ca78
4 changed files with 0 additions and 7 deletions

View File

@ -3213,7 +3213,6 @@ struct tevent_req *cli_smb2_rename_send(
*/
status = cli_dfs_target_check(state,
cli,
fname_src,
fname_dst,
&fname_dst);
if (tevent_req_nterror(req, status)) {

View File

@ -1261,7 +1261,6 @@ bool cli_check_msdfs_proxy(TALLOC_CTX *ctx,
NTSTATUS cli_dfs_target_check(TALLOC_CTX *mem_ctx,
struct cli_state *cli,
const char *fname_src,
const char *fname_dst,
const char **fname_dst_out)
{

View File

@ -1240,7 +1240,6 @@ static struct tevent_req *cli_smb1_rename_send(TALLOC_CTX *mem_ctx,
*/
status = cli_dfs_target_check(state,
cli,
fname_src,
fname_dst,
&fname_dst);
if (!NT_STATUS_IS_OK(status)) {
@ -1344,7 +1343,6 @@ static struct tevent_req *cli_cifs_rename_send(TALLOC_CTX *mem_ctx,
*/
status = cli_dfs_target_check(state,
cli,
fname_src,
fname_dst,
&fname_dst);
if (tevent_req_nterror(req, status)) {
@ -1557,7 +1555,6 @@ static struct tevent_req *cli_ntrename_internal_send(TALLOC_CTX *mem_ctx,
*/
status = cli_dfs_target_check(state,
cli,
fname_src,
fname_dst,
&fname_dst);
if (tevent_req_nterror(req, status)) {
@ -1734,7 +1731,6 @@ static struct tevent_req *cli_smb2_hardlink_send(
*/
status = cli_dfs_target_check(state,
cli,
fname_src,
fname_dst,
&fname_dst);
if (tevent_req_nterror(req, status)) {

View File

@ -165,7 +165,6 @@ bool cli_check_msdfs_proxy(TALLOC_CTX *ctx,
NTSTATUS cli_dfs_target_check(TALLOC_CTX *mem_ctx,
struct cli_state *cli,
const char *fname_src,
const char *fname_dst,
const char **fname_dst_out);