diff options
author | Volker Lendecke <vl@samba.org> | 2011-01-21 10:30:13 +0100 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2011-01-21 12:29:21 +0100 |
commit | 1b373d6044e56f3678c42dae2c03825ef761cabc (patch) | |
tree | 5608ce6592342edd28a741df65d34eb300f28b1d /lib/subunit/README | |
parent | 8db3258983bcf4ad73679a5bd5a554adc062a324 (diff) | |
download | samba-1b373d6044e56f3678c42dae2c03825ef761cabc.tar.gz samba-1b373d6044e56f3678c42dae2c03825ef761cabc.tar.bz2 samba-1b373d6044e56f3678c42dae2c03825ef761cabc.zip |
s3: Fix a deadlock between smbd and ctdbd
Do the notification after we released the share mode lock. Inside notify_fname
we take out another tdb lock. With ctdb also accessing our databases, this can
lead to deadlocks. Putting this notify after the TALLOC_FREE(lck) above we
avoid locking two records simultaneously. Notifies are async and informational
only, so calling the notify_fname without holding the share mode lock should
not do any harm.
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Fri Jan 21 12:29:21 CET 2011 on sn-devel-104
Diffstat (limited to 'lib/subunit/README')
0 files changed, 0 insertions, 0 deletions