lkml.org 
[lkml]   [2009]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: kernel BUG at mm/highmem.c:259
On Wed, Nov 04 2009, Miklos Szeredi wrote:
> On Tue, 3 Nov 2009, Jens Axboe wrote:
> > Looks like another victim of the confusing kmap() vs kmap_atomic() API
> > differences.
> >
> > diff --git a/fs/fuse/file.c b/fs/fuse/file.c
> > index a3492f7..8a219bd 100644
> > --- a/fs/fuse/file.c
> > +++ b/fs/fuse/file.c
> > @@ -1599,7 +1599,7 @@ static int fuse_ioctl_copy_user(struct page **pages, struct iovec *iov,
> > kaddr += copy;
> > }
> >
> > - kunmap(map);
> > + kunmap(page);
> > }
> >
> > return 0;
>
> Todor, thanks for the bug report! Jens, can I add your Signed-off-by?

Yes certainly, go ahead. I should have signed it off when posting.

--
Jens Axboe



\
 
 \ /
  Last update: 2009-11-04 08:39    [W:0.117 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site