Ling, Xiaofeng
2004-Jul-29 16:57 UTC
[Ocfs2-devel] [Patch] Fix bug 109, delete subdir does not decrease the link on parent.
Index: namei.c ==================================================================--- namei.c (revision 1312) +++ namei.c (working copy) @@ -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;
Mark Fasheh
2004-Aug-02 12:56 UTC
[Ocfs2-devel] [Patch] Fix bug 109, delete subdir does not decrease the link on parent.
Good catch, committed. --Mark On Fri, Jul 30, 2004 at 05:57:19AM +0800, Ling, Xiaofeng wrote:> Index: namei.c > ==================================================================> --- namei.c (revision 1312) > +++ namei.c (working copy) > @@ -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; > _______________________________________________ > Ocfs2-devel mailing list > Ocfs2-devel@oss.oracle.com > http://oss.oracle.com/mailman/listinfo/ocfs2-devel-- Mark Fasheh Software Developer, Oracle Corp mark.fasheh@oracle.com