All of lore.kernel.org
 help / color / mirror / Atom feed
* [Ocfs2-devel] Patch for reviews, thanks
@ 2016-02-24  1:11 Guozhonghua
  2016-02-24  1:53 ` Joseph Qi
  0 siblings, 1 reply; 2+ messages in thread
From: Guozhonghua @ 2016-02-24  1:11 UTC (permalink / raw)
  To: ocfs2-devel


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!

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-02-24  1:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-24  1:11 [Ocfs2-devel] Patch for reviews, thanks Guozhonghua
2016-02-24  1:53 ` Joseph Qi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.