lkml.org 
[lkml]   [2003]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: 2.6.0-test3-mm2
hugang <hugang@soulinfo.com> wrote:
>
> On Wed, 13 Aug 2003 01:31:56 -0700
> Andrew Morton <akpm@osdl.org> wrote:
>
> > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.0-test3/2.6.0-test3-mm2/
> >
>
> 2.6.0-test3-mm2 can not boot, It oops in fsck. See attached file.


It's a bogus BUG_ON. It can be removed.


diff -puN mm/filemap.c~aio-O_SYNC-fix-fix mm/filemap.c
--- 25/mm/filemap.c~aio-O_SYNC-fix-fix 2003-08-13 03:46:59.000000000 -0700
+++ 25-akpm/mm/filemap.c 2003-08-13 03:47:06.000000000 -0700
@@ -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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:47    [W:0.114 / U:3.944 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site