s3: Fix handling of processes that died in g_lock
authorVolker Lendecke <vl@samba.org>
Mon, 15 Feb 2010 15:49:46 +0000 (16:49 +0100)
committerKarolin Seeger <kseeger@samba.org>
Wed, 31 Mar 2010 15:54:31 +0000 (17:54 +0200)
commitb2677d82dc5c6bc76b0343d90ec75972b5b2a8bf
treebfeca7353cffc82c92b32493743809cb8f061d89
parent8d4a14f3aa04812cd81aa4d56b878169dc41899c
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)
source3/lib/g_lock.c