This commit is contained in:
parent
3b68543e32
commit
3a79cee2f9
@ -1105,6 +1105,8 @@ auto winfsp_drive::SetFileSize(PVOID /*file_node*/, PVOID file_desc,
|
||||
? api_error::success
|
||||
: api_error::os_error;
|
||||
};
|
||||
|
||||
new_size = file->get_file_size();
|
||||
} else {
|
||||
allocator = [&](native_handle cur_handle) -> api_error {
|
||||
FILE_END_OF_FILE_INFO end_of_file_info{};
|
||||
|
Loading…
x
Reference in New Issue
Block a user