s3: Fix handling of processes that died in g_lock
commitcca616a10771d9eee4b1ff4de14a49bdfaacf867
authorVolker Lendecke <vl@samba.org>
Mon, 15 Feb 2010 15:49:46 +0000 (15 16:49 +0100)
committerKarolin Seeger <kseeger@samba.org>
Thu, 1 Apr 2010 07:39:17 +0000 (1 09:39 +0200)
treeb96c4b83ea70b2149be2dc017c9aebf05be0622c
parent7641f941e73f06171b7a28f7f0a2f79fb003ba30
s3: Fix handling of processes that died in g_lock

g_lock_parse might have thrown away entries from the locks array because the
processes were not around anymore. Don't store the orphaned entries.
(cherry picked from commit f3bdb163f461175c50b4930fa3464beaee30f4a8)
(cherry picked from commit b2677d82dc5c6bc76b0343d90ec75972b5b2a8bf)
source3/lib/g_lock.c