lkml.org 
[lkml]   [2009]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: kernel BUG at mm/highmem.c:259
From
Date
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?

Thanks,
Miklos


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