On Fri, May 31, 2013 at 11:42:40AM +0200, Jan Kara wrote: > jbd2_journal_extend() first checked whether transaction can accept extending > handle with more credits and then added credits to t_outstanding_credits. > This can race with start_this_handle() adding another handle to a transaction > and thus overbooking a transaction. Make jbd2_journal_extend() use > atomic_add_return() to close the race. > > Reviewed-by: Zheng Liu <wenqing.lz@xxxxxxxxxx> > Signed-off-by: Jan Kara <jack@xxxxxxx> Thanks, applied. - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html