diff options
author | Amitay Isaacs <amitay@gmail.com> | 2013-11-07 15:54:20 +1100 |
---|---|---|
committer | Amitay Isaacs <amitay@gmail.com> | 2013-11-07 16:08:17 +1100 |
commit | 537d4abc113883e0d361a1a907d09e771b7d7987 (patch) | |
tree | cf5fb15c137ca8181b0a1567b3cfcb4caef0de62 /ctdb/lib/replace/repdir_getdents.c | |
parent | ab5908777591b9df819439ad213f0a36fc5afcd3 (diff) | |
download | samba-537d4abc113883e0d361a1a907d09e771b7d7987.tar.gz samba-537d4abc113883e0d361a1a907d09e771b7d7987.tar.xz samba-537d4abc113883e0d361a1a907d09e771b7d7987.zip |
client: Make g_lock_lock() wait till lock is obtained
This makes the behaviour of g_lock_lock() similar to that implemented in
Samba. Now ctdb_transaction_start() will return NULL only when there are
failures and not when another transaction is active.
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
(This used to be ctdb commit 59489019ad15a5ad6b0f295e742fc9832745a842)
Diffstat (limited to 'ctdb/lib/replace/repdir_getdents.c')
0 files changed, 0 insertions, 0 deletions