Explanation: The bufp pointer should be indexed rather than incremented because it is used a few lines above as a base pointer to free successfully allocated items if kmalloc fails. -------- Begin Patch -------- --- fs/iobuf.c.orig Wed Mar 21 10:12:36 2001 +++ fs/iobuf.c Wed Mar 21 10:12:30 2001 @@ -55,7 +55,7 @@ return -ENOMEM; } kiobuf_init(iobuf); - *bufp++ = iobuf; + bufp[i] = iobuf; } return 0; -------- End Patch -------- When replying, please CC me at [EMAIL PROTECTED] since I am not subscribed to the mailing list. --Tony Battersby - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/