From: David Teigland Date: Mon, 7 Jan 2008 21:55:18 +0000 (-0600) Subject: dlm: clear ast_type when removing from astqueue X-Git-Tag: v2.6.25-rc1~1139^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a358ca8e738b6226b004efea462ac28c0a2bbb1;p=pandora-kernel.git dlm: clear ast_type when removing from astqueue The lkb_ast_type field indicates whether the lkb is on the astqueue list. When clearing locks for a process, lkb's were being removed from the astqueue list without clearing the field. If release_lockspace then happened immediately afterward, it could try to remove the lkb from the list a second time. Appears when process calls libdlm dlm_release_lockspace() which first closes the ls dev triggering clear_proc_locks, and then removes the ls (a write to control dev) causing release_lockspace(). Signed-off-by: David Teigland --- Reading git-diff-tree failed