From: David Teigland Date: Thu, 14 Jun 2012 17:17:32 +0000 (-0500) Subject: dlm: fix race between remove and lookup X-Git-Tag: v3.6-rc1~84^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=05c32f47bfae74dabff05208957768078b53cc49;p=pandora-kernel.git dlm: fix race between remove and lookup It was possible for a remove message on an old rsb to be sent after a lookup message on a new rsb, where the rsbs were for the same resource name. This could lead to a missing directory entry for the new rsb. It is fixed by keeping a copy of the resource name being removed until after the remove has been sent. A lookup checks if this in-progress remove matches the name it is looking up. Signed-off-by: David Teigland --- Reading git-diff-tree failed