From: David Teigland Date: Mon, 15 Jan 2007 16:34:52 +0000 (-0600) Subject: [DLM] fix user unlocking X-Git-Tag: v2.6.21-rc1~92^2~35^2~33 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a1bc86e6bddd34362ca08a3a4d898eb4b5c15215;p=pandora-kernel.git [DLM] fix user unlocking When a user process exits, we clear all the locks it holds. There is a problem, though, with locks that the process had begun unlocking before it exited. We couldn't find the lkb's that were in the process of being unlocked remotely, to flag that they are DEAD. To solve this, we move lkb's being unlocked onto a new list in the per-process structure that tracks what locks the process is holding. We can then go through this list to flag the necessary lkb's when clearing locks for a process when it exits. Signed-off-by: David Teigland Signed-off-by: Steven Whitehouse --- Reading git-diff-tree failed