summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2009-11-03 11:40:44 +0100
committerGreg Kroah-Hartman <gregkh@suse.de>2009-11-09 16:22:44 -0800
commitc385d8d439907b6cd7b47da86b1837b1006c7228 (patch)
tree0955a4334f063f8ead9c3e5c770577fae53eb8d6 /fs
parent82d2d504aeaad7ada524e9e3bfd8eede3ca2bf15 (diff)
downloadlwn-c385d8d439907b6cd7b47da86b1837b1006c7228.tar.gz
lwn-c385d8d439907b6cd7b47da86b1837b1006c7228.zip
fuse: fix kunmap in fuse_ioctl_copy_user
commit 0bd87182d3ab18a32a8e9175d3f68754c58e3432 upstream. Looks like another victim of the confusing kmap() vs kmap_atomic() API differences. Reported-by: Todor Gyumyushev <yodor1@gmail.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com> Signed-off-by: Miklos Szeredi <mszeredi@suse.cz> Cc: Tejun Heo <tj@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'fs')
-rw-r--r--fs/fuse/file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fuse/file.c b/fs/fuse/file.c
index f47c6c13cd97..899870ada138 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;