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

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Mon Aug 2 13:56:24 CDT 2004


Author: mfasheh
Date: 2004-08-02 12:56:22 -0500 (Mon, 02 Aug 2004)
New Revision: 1316

Modified:
   trunk/src/namei.c
Log:
* include a patch by <xiaofeng.ling at intel.com>:
Fix bug 109, delete subdir does not decrease the link on parent.



Modified: trunk/src/namei.c
===================================================================
--- trunk/src/namei.c	2004-08-02 17:52:40 UTC (rev 1315)
+++ trunk/src/namei.c	2004-08-02 17:56:22 UTC (rev 1316)
@@ -813,7 +813,7 @@
 		}
 		dirfe = (ocfs2_dinode *) parent_node_bh->b_data;
 		dirfe->i_links_count--;
-		status = ocfs_journal_dirty(handle, fe_bh);
+		status = ocfs_journal_dirty(handle, parent_node_bh);
 		if (status < 0) {
 			LOG_ERROR_STATUS(status);
 			goto leave;



More information about the Ocfs2-commits mailing list