Commit 016bef6e authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

MDEV-4356 - Do not try to unlock an already unlocked mutex.

parent f9dcd5b5
......@@ -4083,7 +4083,6 @@ fil_extend_space_to_desired_size(
#ifdef HAVE_POSIX_FALLOCATE
if (srv_use_posix_fallocate) {
mutex_exit(&fil_system->mutex);
success = os_file_set_size(node->name, node->handle,
size_after_extend * page_size);
mutex_enter(&fil_system->mutex);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment