Re: kernel BUG at mm/highmem.c:259

From: Jens Axboe
Date: Wed Nov 04 2009 - 02:36:22 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/