fix
Some checks reported errors
BlockStorage/repertory/pipeline/head Something is wrong with the build of this commit
Some checks reported errors
BlockStorage/repertory/pipeline/head Something is wrong with the build of this commit
This commit is contained in:
parent
757c880616
commit
1d88d26d0a
@ -1460,8 +1460,7 @@ auto remote_server::winfsp_rename(PVOID /*file_desc*/, PWSTR file_name,
|
|||||||
res = drive_.rename_directory(construct_api_path(file_path),
|
res = drive_.rename_directory(construct_api_path(file_path),
|
||||||
construct_api_path(new_file_path));
|
construct_api_path(new_file_path));
|
||||||
event_system::instance().raise<debug_log>(
|
event_system::instance().raise<debug_log>(
|
||||||
function_name,
|
function_name, fmt::format("path|{}|res|{}|errno|", res, errno));
|
||||||
fmt::format("path|{}|res|{}", api_error_to_string(res)));
|
|
||||||
ret = ((res < 0)
|
ret = ((res < 0)
|
||||||
? errno == EISDIR
|
? errno == EISDIR
|
||||||
? static_cast<packet::error_type>(STATUS_ACCESS_DENIED)
|
? static_cast<packet::error_type>(STATUS_ACCESS_DENIED)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user