[Ocfs2-commits] zab commits r2604 - branches/locking-changes/fs/ocfs2

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Thu Sep 22 12:50:23 CDT 2005


Author: zab
Date: 2005-09-22 12:50:22 -0500 (Thu, 22 Sep 2005)
New Revision: 2604

Modified:
   branches/locking-changes/fs/ocfs2/ocfs2_lockid.h
Log:
o add a lock type char for the _RW lock so that it's l_name isn't nonsense


Modified: branches/locking-changes/fs/ocfs2/ocfs2_lockid.h
===================================================================
--- branches/locking-changes/fs/ocfs2/ocfs2_lockid.h	2005-09-22 17:39:57 UTC (rev 2603)
+++ branches/locking-changes/fs/ocfs2/ocfs2_lockid.h	2005-09-22 17:50:22 UTC (rev 2604)
@@ -60,6 +60,9 @@
 		case OCFS2_LOCK_TYPE_RENAME:
 			c = 'R';
 			break;
+		case OCFS2_LOCK_TYPE_RW:
+			c = 'W';
+			break;
 		default:
 			c = '\0';
 	}



More information about the Ocfs2-commits mailing list