Thread (15 messages) 15 messages, 7 authors, 2003-08-27

Re: 2.6.0-test3-mm2

From: Hugh Dickins <hidden>
Date: 2003-08-13 14:30:54
Also in: lkml

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, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help