login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
21
Re: BUG at mm/filemap.c:1749 (2.6.24, jffs2, unionfs)
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Nick Piggin <nickpiggin@...>
To: David Woodhouse <dwmw2@...>
Cc: Erez Zadok <ezk@...>, <jffs-dev@...>, <linux-kernel@...>, <linux-mtd@...>
Subject:
Re: BUG at mm/filemap.c:1749 (2.6.24, jffs2, unionfs)
Date: Sunday, October 21, 2007 - 5:57 am
On Sunday 21 October 2007 18:55, David Woodhouse wrote:
quoted text
> On Fri, 2007-10-19 at 17:16 +1000, Nick Piggin wrote: > > if (writtenlen) { > > - if (inode->i_size < (pg->index << PAGE_CACHE_SHIFT) + > > start + writtenlen) { - inode->i_size = (pg->index > > << PAGE_CACHE_SHIFT) + start + writtenlen; + if > > (inode->i_size < pos + start + writtenlen) { > > + inode->i_size = pos + start + writtenlen; > > This part seems wrong. Shouldn't it just be pos + writtenlen -- which is > basically what it was already: pos==(pg->index<<PAGE_CACHE_SHIFT)+start
Yeah you're right, thanks. -
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
BUG at mm/filemap.c:1749 (2.6.24, jffs2, unionfs)
, Erez Zadok
, (Fri Oct 19, 2:05 am)
Re: BUG at mm/filemap.c:1749 (2.6.24, jffs2, unionfs)
, Nick Piggin
, (Fri Oct 19, 3:03 am)
Re: BUG at mm/filemap.c:1749 (2.6.24, jffs2, unionfs)
, Nick Piggin
, (Fri Oct 19, 3:16 am)
Re: BUG at mm/filemap.c:1749 (2.6.24, jffs2, unionfs)
, David Woodhouse
, (Sun Oct 21, 4:55 am)
Re: BUG at mm/filemap.c:1749 (2.6.24, jffs2, unionfs)
, Nick Piggin
, (Sun Oct 21, 5:57 am)
Re: BUG at mm/filemap.c:1749 (2.6.24, jffs2, unionfs)
, Erez Zadok
, (Fri Oct 19, 1:38 pm)
Re: BUG at mm/filemap.c:1749 (2.6.24, jffs2, unionfs)
, David Woodhouse
, (Sat Oct 20, 9:16 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
James Bruce
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Peter Zijlstra
[PATCH 00/23] per device dirty throttling -v8
Jan Engelhardt
intel iommu (Re: -mm merge plans for 2.6.23)
Peter Zijlstra
[RFC/PATCH 0/4] CPUSET driven CPU isolation
git
:
linux-netdev
:
Gerrit Renker
[PATCH 18/37] dccp: Support for Mandatory options
Rick Jones
Re: Network latency regressions from 2.6.22 to 2.6.29
David Miller
[GIT]: Networking
Josip Rodin
bnx2_poll panicking kernel
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
6 users
and
734 guests
online.
Online users
hotelzorla
richardayala
drzeus
maxicv84
shiatsumassager
spinalaidhudson
Syndicate