[PATCH] ocfs2/dlm: Fixes oops in dlm_new_lockres()
authorSunil Mushran <sunil.mushran@oracle.com>
Mon, 7 Jul 2008 17:06:29 +0000 (10:06 -0700)
committerMark Fasheh <mfasheh@suse.com>
Mon, 7 Jul 2008 18:24:29 +0000 (11:24 -0700)
commit18c6ac383f3e46cfce08d0bf972705852a4e1268
tree5033900d63758c6259a6af667a07765d0c9dde11
parentb2798bf0ec2cb5a17bfc1430c5ba6d971c436a03
[PATCH] ocfs2/dlm: Fixes oops in dlm_new_lockres()

Patch fixes a race that can result in an oops while adding a
lockres to the dlm lockres tracking list.

Bug introduced by mainline commit 29576f8bb54045be944ba809d4fca1ad77c94165.

Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Mark Fasheh <mfasheh@suse.com>
fs/ocfs2/dlm/dlmmaster.c