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 @@ retry: ...@@ -4083,7 +4083,6 @@ retry:
#ifdef HAVE_POSIX_FALLOCATE #ifdef HAVE_POSIX_FALLOCATE
if (srv_use_posix_fallocate) { if (srv_use_posix_fallocate) {
mutex_exit(&fil_system->mutex);
success = os_file_set_size(node->name, node->handle, success = os_file_set_size(node->name, node->handle,
size_after_extend * page_size); size_after_extend * page_size);
mutex_enter(&fil_system->mutex); 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