Re: 2.6.0-test3-mm2

From: Hugh Dickins
Date: Wed Aug 13 2003 - 09:35:18 EST


On Wed, 13 Aug 2003, Con Kolivas wrote:
> Aug 13 22:54:58 pc kernel: kernel BUG at mm/filemap.c:1930!

akpm (have you caught a moment when he's asleep?!) already posted
the fix, saying it's a bogus BUG_ON which can be removed.

--- 2.6.0-test3-mm2/mm/filemap.c Wed Aug 13 11:51:33 2003
+++ linux/mm/filemap.c Wed Aug 13 15:26:36 2003
@@ -1927,8 +1927,6 @@ generic_file_aio_write_nolock(struct kio
ssize_t ret;
loff_t pos = *ppos;

- BUG_ON(iocb->ki_pos != *ppos);
-
if (!iov->iov_base && !is_sync_kiocb(iocb)) {
/* nothing to transfer, may just need to sync data */
ret = iov->iov_len; /* vector AIO not supported yet */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/