[Ocfs2-commits] mfasheh commits r808 - trunk/src
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Wed Mar 24 13:57:09 CST 2004
Author: mfasheh
Date: 2004-03-24 13:57:07 -0600 (Wed, 24 Mar 2004)
New Revision: 808
Modified:
trunk/src/dlm.c
Log:
* include a patch by Rusty Lynch <rusty at linux.co.intel.com>:
The following is a small patch to initialize the cache_list list_head
while initializing a new lockres.
Modified: trunk/src/dlm.c
===================================================================
--- trunk/src/dlm.c 2004-03-22 23:08:58 UTC (rev 807)
+++ trunk/src/dlm.c 2004-03-24 19:57:07 UTC (rev 808)
@@ -1056,6 +1056,8 @@
lockres->lock_holders = 0;
LOG_TRACE_ARGS("lockres->lock_holders = %u\n", lockres->lock_holders);
+ INIT_LIST_HEAD(&lockres->cache_list);
+
LOG_EXIT ();
return;
} /* ocfs_init_lockres */
More information about the Ocfs2-commits
mailing list