[Ocfs2-devel] [Patch] Fix bug 109, delete subdir does not
	decrease the link on parent.
    Mark Fasheh 
    mark.fasheh at oracle.com
       
    Mon Aug  2 11:56:38 CDT 2004
    
    
  
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 at oss.oracle.com
> http://oss.oracle.com/mailman/listinfo/ocfs2-devel
--
Mark Fasheh
Software Developer, Oracle Corp
mark.fasheh at oracle.com
    
    
More information about the Ocfs2-devel
mailing list