[Ocfs2-commits] mfasheh commits r2610 - branches/locking-changes/fs/ocfs2

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Thu Sep 22 16:26:29 CDT 2005


Author: mfasheh
Date: 2005-09-22 16:26:28 -0500 (Thu, 22 Sep 2005)
New Revision: 2610

Modified:
   branches/locking-changes/fs/ocfs2/aops.c
   branches/locking-changes/fs/ocfs2/file.c
Log:
* don't need ocfs2_set_inode_lock_trans() anymore



Modified: branches/locking-changes/fs/ocfs2/aops.c
===================================================================
--- branches/locking-changes/fs/ocfs2/aops.c	2005-09-22 21:00:15 UTC (rev 2609)
+++ branches/locking-changes/fs/ocfs2/aops.c	2005-09-22 21:26:28 UTC (rev 2610)
@@ -308,8 +308,6 @@
 			goto out;
 		}
 
-		ocfs2_set_inode_lock_trans(osb->journal, inode);
-
 		/* Only do this on extending writes - we don't
 		 * hold the right cluster locks otherwise. */
 		if (ocfs2_should_order_data(inode)) {

Modified: branches/locking-changes/fs/ocfs2/file.c
===================================================================
--- branches/locking-changes/fs/ocfs2/file.c	2005-09-22 21:00:15 UTC (rev 2609)
+++ branches/locking-changes/fs/ocfs2/file.c	2005-09-22 21:26:28 UTC (rev 2610)
@@ -182,10 +182,6 @@
 		goto out;
 	}
 
-	/* Since we got our cluster lock from caller and we
-	 * don't add it to the handle: */
-	ocfs2_set_inode_lock_trans(osb->journal, inode);
-
 	ret = ocfs2_set_inode_size(handle, inode, di_bh,
 				   new_i_size);
 	if (ret < 0)



More information about the Ocfs2-commits mailing list