diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2009-11-03 05:40:44 -0500 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2009-11-04 04:24:51 -0500 |
commit | 0bd87182d3ab18a32a8e9175d3f68754c58e3432 (patch) | |
tree | 33ec19afd0954edc82b7d8d2dcee7b4e4f0785e3 /fs | |
parent | f60311d5f7670d9539b424e4ed8b5c0872fc9e83 (diff) |
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 <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>
Cc: stable@kernel.org
Diffstat (limited to 'fs')
-rw-r--r-- | fs/fuse/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/fuse/file.c b/fs/fuse/file.c index 5887a6395ad2..c18913a777ae 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, | |||
1600 | kaddr += copy; | 1600 | kaddr += copy; |
1601 | } | 1601 | } |
1602 | 1602 | ||
1603 | kunmap(map); | 1603 | kunmap(page); |
1604 | } | 1604 | } |
1605 | 1605 | ||
1606 | return 0; | 1606 | return 0; |