ocfs2: Plugs race between the dc thread and an unlock ast message
authorSunil Mushran <sunil.mushran@oracle.com>
Wed, 3 Feb 2010 18:16:54 +0000 (10:16 -0800)
committerJoel Becker <joel.becker@oracle.com>
Thu, 4 Feb 2010 01:26:03 +0000 (17:26 -0800)
commit079b805782f94f4b278132286a8c9bc4655d1c51
tree8ace4c9aa726593d85fd2b80cea87d6170251ff7
parentdb0f6ce69776370232431eb8be85a5b18b0019c0
ocfs2: Plugs race between the dc thread and an unlock ast message

This patch plugs a race between the downconvert thread and an unlock ast message.
Specifically, after the downconvert worker has done its task, the dc thread needs
to check whether an unlock ast made the downconvert moot.

Reported-by: David Teigland <teigland@redhat.com>
Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Acked-by: Mark Fasheh <mfasheh@sus.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
fs/ocfs2/dlmglue.c