From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Wed, 13 Aug 2003 15:32:30 +0100 (BST) From: Hugh Dickins Subject: Re: 2.6.0-test3-mm2 In-Reply-To: <200308132302.26656.kernel@kolivas.org> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-linux-mm@kvack.org Return-Path: To: Con Kolivas Cc: Andrew Morton , Luiz Capitulino , linux-kernel@vger.kernel.org, linux-mm@kvack.org List-ID: 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: aart@kvack.org