]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2_dlm: Fix lockres ref counting bug
authorSunil Mushran <sunil.mushran@oracle.com>
Fri, 23 Mar 2007 00:01:07 +0000 (17:01 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Mon, 26 Mar 2007 23:50:52 +0000 (16:50 -0700)
commitb391699f70eec4c42a72eeea444c8ae9528438a0
treed360f3440fbe3489ef1c467f0b4b8ef196516ec2
parent6981c1cbdbfa83468f9df4eaa5fd452da66e8d0b
ocfs2_dlm: Fix lockres ref counting bug

During umount, the umount thread migrates the lockres' and the dlm_thread
frees the empty lockres'. Due to a race, the reference counting on the
lockres goes awry leading to extra puts.

Signed-off-by: Sunil Mushran <sunil.mushran@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/dlm/dlmdomain.c
fs/ocfs2/dlm/dlmthread.c