mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
lvmlockd: avoid double unlock of client_mutex
Avoid double unlocking of client_mutex and and unlock client_mutex in 'else' branch since it's already unlocked in 'if (cl->dead)' branch.
This commit is contained in:
parent
b3b1e788e1
commit
288e10cf8b
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.174 -
|
Version 2.02.174 -
|
||||||
=================================
|
=================================
|
||||||
|
Avoid double unlocking of client & lockspace mutexes in lvmlockd.
|
||||||
Fix leaking of file descriptor for non-blocking filebased locking.
|
Fix leaking of file descriptor for non-blocking filebased locking.
|
||||||
Fix check for 2nd mda at end of disk fits if using pvcreate --restorefile.
|
Fix check for 2nd mda at end of disk fits if using pvcreate --restorefile.
|
||||||
Use maximum metadataarea size that fits with pvcreate --restorefile.
|
Use maximum metadataarea size that fits with pvcreate --restorefile.
|
||||||
|
@ -4761,7 +4761,7 @@ static void *client_thread_main(void *arg_in)
|
|||||||
} else {
|
} else {
|
||||||
pthread_mutex_unlock(&cl->mutex);
|
pthread_mutex_unlock(&cl->mutex);
|
||||||
}
|
}
|
||||||
}
|
} else
|
||||||
pthread_mutex_unlock(&client_mutex);
|
pthread_mutex_unlock(&client_mutex);
|
||||||
}
|
}
|
||||||
out:
|
out:
|
||||||
|
Loading…
Reference in New Issue
Block a user