On 2015/7/12 18:10, Zhen Ren wrote: > Hi Joseph, > > The following added lines are same as the deleted. Is it because the > unnecessary trailing whitespaces? > > - level = ocfs2_iocb_rw_locked_level(iocb); > - ocfs2_rw_unlock(inode, level); > + level = ocfs2_iocb_rw_locked_level(iocb); > + ocfs2_rw_unlock(inode, level); > No, I want rw unlock to be done later in case of append direct io. This is for preventing the described race case.
> -- > Eric > _______________________________________________ > Ocfs2-devel mailing list > Ocfs2-devel@oss.oracle.com > https://oss.oracle.com/mailman/listinfo/ocfs2-devel > > > > _______________________________________________ Ocfs2-devel mailing list Ocfs2-devel@oss.oracle.com https://oss.oracle.com/mailman/listinfo/ocfs2-devel