[Ocfs2-devel] Patch for reviews, thanks

Joseph Qi joseph.qi at huawei.com
Tue Feb 23 17:53:36 PST 2016


Hi Guozhonghua,
Thanks for pointing this out.
But you should follow the way described in
Documentation/SubmittingPatches to submit your patch.
I'll re-arrange and resend it.

Thanks,
Joseph

On 2016/2/24 9:11, Guozhonghua wrote:
> 
> aops.c, in the function ocfs2_direct_IO_write.
> 
> *************** clean_orphan:
> *** 948,961 ****
> --- 947,963 ----
>                 tmp_ret = ocfs2_inode_lock(inode, &di_bh, 1);
>                 if (tmp_ret < 0) {
>                         ret = tmp_ret;
>                         mlog_errno(ret);
>                         goto out;
>                 }
> 
>                 tmp_ret = ocfs2_del_inode_from_orphan(osb, inode, di_bh,
>                                 update_isize, end);
>                 if (tmp_ret < 0) {
>                         ret = tmp_ret;
>                         mlog_errno(ret);
> +                       ocfs2_inode_unlock(inode, 1);
>                         brelse(di_bh);
>                         goto out;
>                 }
> 
>                 ocfs2_inode_unlock(inode, 1);
>                 brelse(di_bh);
> -------------------------------------------------------------------------------------------------------------------------------------
> 本邮件及其附件含有杭州华三通信技术有限公司的保密信息,仅限于发送给上面地址中列出
> 的个人或群组。禁止任何其他人以任何形式使用(包括但不限于全部或部分地泄露、复制、
> 或散发)本邮件中的信息。如果您错收了本邮件,请您立即电话或邮件通知发件人并删除本
> 邮件!
> This e-mail and its attachments contain confidential information from H3C, which is
> intended only for the person or entity whose address is listed above. Any use of the
> information contained herein in any way (including, but not limited to, total or partial
> disclosure, reproduction, or dissemination) by persons other than the intended
> recipient(s) is prohibited. If you receive this e-mail in error, please notify the sender
> by phone or email immediately and delete it!
> _______________________________________________
> Ocfs2-devel mailing list
> Ocfs2-devel at oss.oracle.com
> https://oss.oracle.com/mailman/listinfo/ocfs2-devel
> 




More information about the Ocfs2-devel mailing list