From: Jens Axboe Date: Tue, 3 Nov 2009 10:40:44 +0000 (+0100) Subject: fuse: fix kunmap in fuse_ioctl_copy_user X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0bd87182d3ab18;p=mv-sheeva.git fuse: fix kunmap in fuse_ioctl_copy_user Looks like another victim of the confusing kmap() vs kmap_atomic() API differences. Reported-by: Todor Gyumyushev Signed-off-by: Jens Axboe Signed-off-by: Miklos Szeredi Cc: Tejun Heo Cc: stable@kernel.org --- diff --git a/fs/fuse/file.c b/fs/fuse/file.c index 5887a6395ad..c18913a777a 100644 --- a/fs/fuse/file.c +++ b/fs/fuse/file.c @@ -1600,7 +1600,7 @@ static int fuse_ioctl_copy_user(struct page **pages, struct iovec *iov, kaddr += copy; } - kunmap(map); + kunmap(page); } return 0;