]> err.no Git - linux-2.6/commit
ocfs2: do not unconditionally purge the lockres in dlmlock_remote()
authorKurt Hackel <kurt.hackel@oracle.com>
Mon, 1 May 2006 20:27:10 +0000 (13:27 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Mon, 26 Jun 2006 21:43:06 +0000 (14:43 -0700)
commit2abaf97e62e51fdd09d5a46703b3b680f24bdd8b
tree0934722ce8d7a4372758c61acdda3b37d4f8a7a4
parentaa087b84977173395c0e3a1e0c1773314958f277
ocfs2: do not unconditionally purge the lockres in dlmlock_remote()

In dlmlock_remote(), do not call purge_lockres until the lock resource
actually changes. otherwise, the mastery info on the lockres will go away
underneath the caller.

Signed-off-by: Kurt Hackel <kurt.hackel@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/dlm/dlmlock.c