Skip to content

Commit

Permalink
s3: smbd: As rename_internals() calls rename_internals_fsp(), show we…
Browse files Browse the repository at this point in the history
… can pass dst_dirfsp as NULL here too.

Signed-off-by: Jeremy Allison <[email protected]>
Reviewed-by: Ralph Boehme <[email protected]>
  • Loading branch information
jrasamba authored and slowfranklin committed Sep 19, 2023
1 parent 33845e0 commit c38815b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion source3/smbd/smb1_nttrans.c
Original file line number Diff line number Diff line change
Expand Up @@ -1577,7 +1577,7 @@ void reply_ntrename(struct smb_request *req)
req,
src_dirfsp,
smb_fname_old,
dst_dirfsp,
NULL,
smb_fname_new,
dst_original_lcomp,
attrs,
Expand Down
2 changes: 1 addition & 1 deletion source3/smbd/smb1_reply.c
Original file line number Diff line number Diff line change
Expand Up @@ -6481,7 +6481,7 @@ void reply_mv(struct smb_request *req)
req,
src_dirfsp, /* src_dirfsp */
smb_fname_src,
dst_dirfsp, /* dst_dirfsp */
NULL, /* dst_dirfsp */
smb_fname_dst,
dst_original_lcomp,
attrs,
Expand Down
2 changes: 1 addition & 1 deletion source3/smbd/smb2_trans2.c
Original file line number Diff line number Diff line change
Expand Up @@ -4764,7 +4764,7 @@ static NTSTATUS smb_file_rename_information(connection_struct *conn,
req,
NULL, /* src_dirfsp */
smb_fname_src,
dst_dirfsp,
NULL,
smb_fname_dst,
dst_original_lcomp,
0,
Expand Down

0 comments on commit c38815b

Please sign in to comment.