lkml.org 
[lkml]   [2009]   [Nov]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[65/99] fuse: fix kunmap in fuse_ioctl_copy_user
    2.6.31-stable review patch.  If anyone has any objections, please let us know.

    ------------------
    From: Jens Axboe <jens.axboe@oracle.com>

    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>

    ---
    fs/fuse/file.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/fs/fuse/file.c
    +++ b/fs/fuse/file.c
    @@ -1600,7 +1600,7 @@ static int fuse_ioctl_copy_user(struct p
    kaddr += copy;
    }

    - kunmap(map);
    + kunmap(page);
    }

    return 0;



    \
     
     \ /
      Last update: 2009-11-06 23:37    [W:0.022 / U:0.104 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site