On Tue, Dec 13, 2011 at 12:57 AM, Andrea Arcangeli <aarcange@xxxxxxxxxx> wrote: > On Mon, Dec 12, 2011 at 11:28:21AM +0800, Yongqiang Yang wrote: >> Hi Andrea, >> >> I can not figure out why ext4 hangs. Could you explain more on hanging? > > Well I tried to explain it in the changeset comment. > > If "copied" is zero, end/offset/idx becomes -1, and this loops: > > for (i = 0; i < idx; i++) > > definitely a bug and checking ext4 git I don't see anything fixing it. Got it. Thanks. Looks good to me. -- Best Wishes Yongqiang Yang -- 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