[Ocfs2-commits] mfasheh commits r1719 - trunk/src

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Fri Dec 24 02:36:39 CST 2004


Author: mfasheh
Date: 2004-12-24 02:36:37 -0600 (Fri, 24 Dec 2004)
New Revision: 1719

Modified:
   trunk/src/dlmglue.c
Log:
* add a proper description to the top of dlmglue.c

* fix a broken assert in the LVB code



Modified: trunk/src/dlmglue.c
===================================================================
--- trunk/src/dlmglue.c	2004-12-23 21:48:17 UTC (rev 1718)
+++ trunk/src/dlmglue.c	2004-12-24 08:36:37 UTC (rev 1719)
@@ -1,9 +1,9 @@
 /* -*- mode: c; c-basic-offset: 8; -*-
  * vim: noexpandtab sw=8 ts=8 sts=0:
  *
- * middle.c
+ * dlmglue.c
  *
- * description here
+ * Code which implements an OCFS2 specific interface to our DLM.
  *
  * Copyright (C) 2003, 2004 Oracle.  All rights reserved.
  *
@@ -247,7 +247,7 @@
 
 	LOG_ENTRY();
 
-	OCFS_ASSERT(lockres->l_type == OCFS_TYPE_DATA);
+	OCFS_ASSERT(lockres->l_type == OCFS_TYPE_META);
 
 	spin_lock(&lockres->l_lock);
 	OCFS_ASSERT(lockres->l_level > LKM_NLMODE);



More information about the Ocfs2-commits mailing list