From: Sunil Mushran Date: Sat, 1 Mar 2008 22:04:20 +0000 (-0800) Subject: ocfs2/dlm: Add missing dlm_lock_put()s X-Git-Tag: v2.6.25-rc6~50^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c5c54aca9d0263f81bd4886232835ba31f7635a;p=pandora-kernel.git ocfs2/dlm: Add missing dlm_lock_put()s Normally locks for remote nodes are freed when that node sends an UNLOCK message to the master. The master node tags an DLM_UNLOCK_FREE_LOCK action to do an extra put on the lock at the end. However, there are times when the master node has to free the locks for the remote nodes forcibly. Two cases when this happens are: 1. When the master has migrated the lockres plus all locks to another node. 2. When the master is clearing all the locks of a dead node. It was in the above two conditions that the dlm was missing the extra put. Signed-off-by: Sunil Mushran Signed-off-by: Joel Becker Signed-off-by: Mark Fasheh --- Reading git-diff-tree failed